blob: 358ce3e8600a8b850d684639648a354652276547 [file] [log] [blame]
// This is part of series of regression tests for some diagnostics ICEs encountered in the wild with
// suggestions having overlapping parts under https://github.com/rust-lang/rust/pull/146121.
//@ needs-rustc-debug-assertions
//@ known-bug: #146706
type Alias<'a, T> = Foo<T>;
enum Foo<T> {
Bar { t: T },
}
fn main() {
Alias::Bar::<u32> { t: 0 };
}