rust/compiler/rustc_const_eval/src
Matthias Krüger 4bd6f7fe16
Rollup merge of #108786 - saethlin:free-regions-check, r=oli-obk
Check for free regions in MIR validation

This turns https://github.com/rust-lang/rust/issues/108720 into a MIR validation failure that will reproduce without debug-assertions enabled.

```
error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:296 ~ futures_util[3805]::future::future::remote_handle::{impl#3}::poll), const_param_did: None }) (after pass ScalarReplacementOfAggregates) at bb0[0]:
                                Free regions in optimized runtime-post-cleanup MIR
  --> /home/ben/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.26/src/future/future/remote_handle.rs:96:13
   |
96 |         let this = self.project();
   |             ^^^^
```
2023-03-06 16:41:58 +01:00
..
const_eval Rollup merge of #107801 - davidtwco:stability-implies-const, r=Nilstrieb 2023-03-06 16:41:56 +01:00
interpret Rollup merge of #108669 - Nilstrieb:query-my-uninitness, r=compiler-errors 2023-03-04 15:24:39 +05:30
transform Rollup merge of #108786 - saethlin:free-regions-check, r=oli-obk 2023-03-06 16:41:58 +01:00
util Allow checking whether a type allows being uninitialized 2023-03-02 18:33:48 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
lib.rs Unify all validity check intrinsics 2023-02-27 13:30:44 +00:00