about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-18 06:58:50 +0100
committerGitHub <noreply@github.com>2024-03-18 06:58:50 +0100
commit3fc3142df1b2bfa543e666bc6d5c8553d06cdbf7 (patch)
tree2a3b4c6f58ae664c4ef779bb7353f8a5c439223d /compiler/rustc_pattern_analysis/src/errors.rs
parent86bb0bc41da06e78321a946e5c706edc1e22df1a (diff)
parent23a4ad12ce047a8e175f1298000553435ab835a0 (diff)
downloadrust-3fc3142df1b2bfa543e666bc6d5c8553d06cdbf7.tar.gz
rust-3fc3142df1b2bfa543e666bc6d5c8553d06cdbf7.zip
Rollup merge of #122656 - RalfJung:simplify-cfg, r=compiler-errors
simplify_cfg: rename some passes so that they make more sense

I was extremely confused by `SimplifyCfg::ElaborateDrops`, since it runs way later than drop elaboration. It is used e.g. in `mir-opt/retag.rs` even though that pass doesn't care about drop elaboration at all.

"Early opt" is also very confusing since that makes it sounds like it runs early during optimizations, i.e. on runtime MIR, but actually it runs way before that.

So I decided to rename
- early-opt -> post-analysis
- elaborate-drops -> pre-optimizations

I am open to other suggestions.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions