ICE: Unsize coercion, but &dyn Foo<'_>
isn't coercible to &dyn Bar<'_, '_, ()>
#131886
Labels
-Zvalidate-mir
Unstable option: MIR validation
C-bug
Category: This is a bug.
F-trait_upcasting
`#![feature(trait_upcasting)]`
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zvalidate-mir --crate-type=lib
Program output
@rustbot label +F-trait_upcasting +F-type_alias_impl_trait
The text was updated successfully, but these errors were encountered: