rust/compiler/rustc_hir_analysis
bors a0c28cd9dc Auto merge of #115401 - Zoxc:freeze, r=oli-obk
Add `FreezeLock` type and use it to store `Definitions`

This adds a `FreezeLock` type which allows mutation using a lock until the value is frozen where it can be accessed lock-free. It's used to store `Definitions` in `Untracked` instead of a `RwLock`. Unlike the current scheme of leaking read guards this doesn't deadlock if definitions is written to after no mutation are expected.
2023-09-06 11:48:43 +00:00
..
src Auto merge of #115401 - Zoxc:freeze, r=oli-obk 2023-09-06 11:48:43 +00:00
Cargo.toml
messages.ftl Don't add associated type bound for non-types 2023-08-11 21:33:08 +00:00
README.md

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.