about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-20 09:37:30 +0100
committerGitHub <noreply@github.com>2024-01-20 09:37:30 +0100
commitbb816e67b46fe5f1c520a6ecfadfc6a393b5f84f (patch)
treef84abd66003884096b2174877c4cc544e1b09062 /compiler/rustc_pattern_analysis/src/lib.rs
parent862d3fe769527b67db2e060cee724be75040933f (diff)
parent078a979229b2e68570bf736c0a48be95d1ad41a7 (diff)
downloadrust-bb816e67b46fe5f1c520a6ecfadfc6a393b5f84f.tar.gz
rust-bb816e67b46fe5f1c520a6ecfadfc6a393b5f84f.zip
Rollup merge of #120155 - compiler-errors:no-erased-when-promoting, r=aliemjay
Don't use `ReErased` to detect type test promotion failed

Using `ReErased` here is convenient because it implicitly stores the state that we are explicitly recording with the `failed` variable now, but I also think it adds a tiny bit of complexity that is not worth it.

r? `@aliemjay`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/lib.rs')
0 files changed, 0 insertions, 0 deletions