diff options
| author | bors <bors@rust-lang.org> | 2023-09-12 09:02:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-12 09:02:27 +0000 |
| commit | cc7a9d69729c9710c01cb70b864e664659626674 (patch) | |
| tree | 1d987a672d6305a67f8b1ad9591286f859362af1 /compiler/rustc_resolve/src | |
| parent | deb708af12ea5dfa10539f2d1592d289f7a92dc9 (diff) | |
| parent | 6984030f80facdda72dd81c209fa19d1e830988e (diff) | |
| download | rust-cc7a9d69729c9710c01cb70b864e664659626674.tar.gz rust-cc7a9d69729c9710c01cb70b864e664659626674.zip | |
Auto merge of #115705 - cjgillot:const-prop-aggregate, r=oli-obk
Read from non-scalar constants and statics in dataflow const-prop DataflowConstProp is designed to handle scalar values. When MIR features an assignment from a non-scalar constant, we need to manually decompose it into the custom state space. This PR tweaks interpreter callbacks to allow reusing `eval_mir_constant` without having a stack frame to get a span from. r? `@oli-obk` cc `@jachris`
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
