rust/compiler/rustc_middle/src
Matthias Krüger a72d6c114b
Rollup merge of #120128 - oli-obk:smir_internal_lift, r=celinval
Make stable_mir::with_tables sound

See the first commit for the actual soundness fix. The rest is just fallout from that and is entirely safe code. Includes most of #120120

The major difference to #120120 is that we don't need an unsafe trait, as we can now rely on the type system (the only unsafe part, and the actual source of the unsoundness was in `with_tables`)

r? `@celinval`
2024-01-21 12:28:52 +01:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Get rid of the hir_owner query. 2024-01-16 23:49:38 +00:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer don't store const var origins for known vars 2024-01-16 11:06:42 +01:00
middle Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
mir Rollup merge of #120128 - oli-obk:smir_internal_lift, r=celinval 2024-01-21 12:28:52 +01:00
query Auto merge of #120112 - matthiaskrgr:rollup-48o3919, r=matthiaskrgr 2024-01-19 08:42:17 +00:00
thir Remove thir::Guard 2024-01-05 10:56:59 +00:00
traits Correctly handle normalization in implied bounds 2024-01-17 21:27:34 -05:00
ty Rollup merge of #120128 - oli-obk:smir_internal_lift, r=celinval 2024-01-21 12:28:52 +01:00
util compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
arena.rs Make crate_inherent_impls fallible and stop using track_errors for it 2024-01-17 10:02:29 +00:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
lint.rs Rework how diagnostic lints are stored. 2024-01-14 14:04:25 +11:00
macros.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Don't populate yield and resume types after the fact 2024-01-06 18:03:01 +00:00
values.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00