diff options
| author | bors <bors@rust-lang.org> | 2023-03-12 23:27:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-12 23:27:52 +0000 |
| commit | e07c6b48994909dca1b80f64923a471795870abb (patch) | |
| tree | 29e730c0b2c3589a1b7cc5095601a2bde69e8408 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 7449912989476b0c39cab0a7019fb2a8ddc89f79 (diff) | |
| parent | e66e918bd316c407c605d541343255f0d66e7a7b (diff) | |
| download | rust-e07c6b48994909dca1b80f64923a471795870abb.tar.gz rust-e07c6b48994909dca1b80f64923a471795870abb.zip | |
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
