diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2019-12-27 11:44:36 -0500 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2019-12-27 13:04:32 -0500 |
| commit | 25a8b5d58e3899084e191ffd9456f39d29c3263b (patch) | |
| tree | 770a1239529778173c709cf29b2826faee379a12 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 41501a6b03a8f10d8c29dfcb37dbd5ff84b33f34 (diff) | |
| download | rust-25a8b5d58e3899084e191ffd9456f39d29c3263b.tar.gz rust-25a8b5d58e3899084e191ffd9456f39d29c3263b.zip | |
Fix `Instance::resolve()` incorrectly returning specialized instances
We only want to return specializations when `Reveal::All` is passed, not when `Reveal::UserFacing` is. Resolving this fixes several issues with the `ConstProp`, `SimplifyBranches`, and `Inline` MIR optimization passes. Fixes #66901
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
