about summary refs log tree commit diff
path: root/src/test/ui/const-generics/array-size-in-generic-struct-param.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-11 15:38:14 +0000
committerbors <bors@rust-lang.org>2020-08-11 15:38:14 +0000
commitcbe7c5ce705896d4e22bf6096590bc1f17993b78 (patch)
treedea646c83fccb7d18cff63570bf0c3eb03ae77ca /src/test/ui/const-generics/array-size-in-generic-struct-param.rs
parent4b9ac5161781ca6a376daab3d3b2f2623d8f3789 (diff)
parent307d0d8f51e65d83274ff61072e15401ab852496 (diff)
downloadrust-cbe7c5ce705896d4e22bf6096590bc1f17993b78.tar.gz
rust-cbe7c5ce705896d4e22bf6096590bc1f17993b78.zip
Auto merge of #73656 - oli-obk:deaggregate-is-cleanup, r=wesleywiser
move Deaggregate pass to post_borrowck_cleanup

Reopen of #71946

Only the second commit is from this PR, the other commit is a bugfix that's in the process of getting merged. I'll rebase once that's done

In #70073 MIR pass handling got reorganized, but with the goal of not changing behavior (except for disabling some optimizations on opt-level = 0). But there we realized that the Deaggregator pass, while conceptually more of a "cleanup" pass (and one that should be run before optimizations), was run in the middle of the optimization chain. Likely this is an accident of history, so I suggest we try and clean that up by making it a proper cleanup pass.

This does change mir-opt output, because deaggregation now runs before const-prop instead of after.

r? @wesleywiser @rust-lang/wg-mir-opt

cc @RalfJung
Diffstat (limited to 'src/test/ui/const-generics/array-size-in-generic-struct-param.rs')
0 files changed, 0 insertions, 0 deletions