about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2019-12-27 11:44:36 -0500
committerWesley Wiser <wwiser@gmail.com>2019-12-27 13:04:32 -0500
commit25a8b5d58e3899084e191ffd9456f39d29c3263b (patch)
tree770a1239529778173c709cf29b2826faee379a12 /src/test/debuginfo/enum-thinlto.rs
parent41501a6b03a8f10d8c29dfcb37dbd5ff84b33f34 (diff)
downloadrust-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