rust/compiler
Jacob Pratt b69548c886
Rollup merge of #146283 - LorrensP-2158466:resolve-cm-cell, r=petrochenkov
Resolve: (Ref)Cell wrappers to deny mutation during spec resolution.

Introduces wrappers around `Cell` and `RefCell` that only allow mutation when we are not in speculative resolution. This is preparatory work for rust-lang/rust#145108.

It would allow us to make `ImportData` and `ModuleData` sync and send safe.

r? `@petrochenkov`
2025-09-25 21:15:08 -04:00
..
2025-09-21 13:12:18 -04:00
2025-09-17 04:46:46 +02:00
2025-09-17 04:46:46 +02:00