rust/compiler/rustc_const_eval/src
bors b05bb29008 Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obk
Strengthen state tracking in const-prop

Some/many of the changes are replicated between both the const-prop lint and the const-prop optimization.

Behaviour changes:
- const-prop opt does not give a span to propagated values. This was useless as that span's primary purpose is to diagnose evaluation failure in codegen.
- we remove the `OnlyPropagateInto` mode. It was only used for function arguments, which are better modeled by a write before entry.
- the tracking of assignments and discriminants make clearer that we do nothing in `NoPropagation` mode or on indirect places.
2023-03-12 23:27:52 +00:00
..
const_eval Rollup merge of #107801 - davidtwco:stability-implies-const, r=Nilstrieb 2023-03-06 16:41:56 +01:00
interpret Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obk 2023-03-12 23:27:52 +00:00
transform Auto merge of #108977 - matthiaskrgr:rollup-1bnl1hu, r=matthiaskrgr 2023-03-10 15:39:25 +00: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 Simplify message paths 2023-03-11 22:51:57 +01:00