diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-02-22 09:31:41 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-03-04 11:30:38 -0500 |
| commit | b3c4e25e1740da69686f940165dd3c9d563d54e5 (patch) | |
| tree | 106197b3bd1c72f5389fb408cec3435e03560bf2 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | ec7f258d543e1ac7d0b94435972331e85da8c509 (diff) | |
| download | rust-b3c4e25e1740da69686f940165dd3c9d563d54e5.tar.gz rust-b3c4e25e1740da69686f940165dd3c9d563d54e5.zip | |
Don't require a `DocContext` for `report_diagnostic`
This is needed for the next commit, which needs access to the `cx` from within the `decorate` closure. - Change `as_local_hir_id` to an associated function, since it only needs a `TyCtxt` - Change `source_span_for_markdown_range` to only take a `TyCtxt`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
