rust/compiler/rustc_middle/src
bors 9dc11a13fa Auto merge of #115422 - Zoxc:cache-once-lock, r=cjgillot
Use `OnceLock` for `SingleCache`

This uses `OnceLock` for `SingleCache` instead of `Lock<Option<T>>` so lookups are lock-free.

r? `@cjgillot`
2023-09-02 03:06:11 +00:00
..
dep_graph Rollup merge of #114772 - fee1-dead-contrib:typed-did, r=b-naber 2023-08-15 14:29:45 +02:00
hir Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkov 2023-09-01 12:40:01 +00:00
infer refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
middle rustc: Move stable_crate_id from Session to GlobalCtxt 2023-08-09 14:35:23 +08:00
mir Use OnceLock for SingleCache 2023-09-01 03:11:51 +02:00
query More precisely detect cycle errors from type_of on opaque 2023-08-27 22:03:16 +00:00
thir Move scrutinee HirId into MatchSource::TryDesugar 2023-08-14 21:43:56 +00:00
traits Move scrutinee HirId into MatchSource::TryDesugar 2023-08-14 21:43:56 +00:00
ty Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkov 2023-09-01 12:40:01 +00:00
util inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
arena.rs Remove metadata_loader query 2023-08-13 16:38:50 +00:00
error.rs Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
lib.rs Bump cfg(bootstrap) 2023-08-23 20:05:14 -04:00
lint.rs fix RedundantLocals clippy caused by async and await 2023-08-02 16:32:49 +08:00
macros.rs Make everything builtin! 2023-07-25 16:08:58 +00:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs
thir.rs Move scrutinee HirId into MatchSource::TryDesugar 2023-08-14 21:43:56 +00:00
values.rs More precisely detect cycle errors from type_of on opaque 2023-08-27 22:03:16 +00:00