diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-03-07 10:41:11 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-07 10:41:11 +0900 |
| commit | 3d762a7f36e1105b3f2988874e00806b8c331d6d (patch) | |
| tree | 7eb5af5361e5072ed924f2b57356bf5cf2412cbd /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 1d5b2dc945124c619ebb3641c096c063ca8ca1e5 (diff) | |
| parent | 675edd0231fd799f130ae2d46e079b3753475449 (diff) | |
| download | rust-3d762a7f36e1105b3f2988874e00806b8c331d6d.tar.gz rust-3d762a7f36e1105b3f2988874e00806b8c331d6d.zip | |
Rollup merge of #82402 - jyn514:module-cache-refcell, r=GuillaumeGomez
Remove RefCell around `module_trait_cache` This builds on https://github.com/rust-lang/rust/pull/82018 and should not be merged before. ## Don't require a `DocContext` for `report_diagnostic` This is needed for the next commit, which needs mutable 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` ## Remove RefCell around module_trait_cache This is mostly just changing lots of functions from `&DocContext` to `&mut DocContext`.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
