about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-02-22 09:31:41 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-03-04 11:30:38 -0500
commitb3c4e25e1740da69686f940165dd3c9d563d54e5 (patch)
tree106197b3bd1c72f5389fb408cec3435e03560bf2 /library/std/src/sys/unix/stack_overflow.rs
parentec7f258d543e1ac7d0b94435972331e85da8c509 (diff)
downloadrust-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