rust/compiler/rustc_middle/src
bors cebb9cfd4f Auto merge of #115748 - RalfJung:post-mono, r=oli-obk
move required_consts check to general post-mono-check function

This factors some code that is common between the interpreter and the codegen backends into shared helper functions. Also as a side-effect the interpreter now uses the same `eval` functions as everyone else to get the evaluated MIR constants.

Also this is in preparation for another post-mono check that will be needed for (the current hackfix for) https://github.com/rust-lang/rust/issues/115709: ensuring that all locals are dynamically sized.

I didn't expect this to change diagnostics, but it's just cycle errors that change.

r? `@oli-obk`
2023-09-18 19:41:21 +00:00
..
dep_graph Use a specialized varint + bitpacking scheme for DepGraph encoding 2023-09-04 12:16:50 -04:00
hir Enable incremental-relative-spans by default. 2023-09-07 20:21:13 +00:00
infer Remove more unused Lift impls. 2023-09-18 09:37:10 +10:00
middle Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
mir Auto merge of #115748 - RalfJung:post-mono, r=oli-obk 2023-09-18 19:41:21 +00:00
query Cache reachable_set on disk 2023-09-10 00:00:00 +00:00
thir Move scrutinee HirId into MatchSource::TryDesugar 2023-08-14 21:43:56 +00:00
traits Rollup merge of #115838 - lcnr:added-goals, r=compiler-errors 2023-09-18 13:02:18 +02:00
ty Auto merge of #115748 - RalfJung:post-mono, r=oli-obk 2023-09-18 19:41:21 +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 point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs Bump cfg(bootstrap) 2023-08-23 20:05:14 -04:00
lint.rs Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10: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 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