about summary refs log tree commit diff
path: root/tests/ui/type/issue-67690-type-alias-bound-diagnostic-crash.rs
blob: 52e0887175d447b75d4c2028286c0e050cf1a0be (plain)
1
2
3
4
5
6
7
8
// Regression test for issue #67690
// Rustc endless loop out-of-memory and consequent SIGKILL in generic new type

//@ check-pass
pub type T<P: Send + Send + Send> = P;
//~^ WARN bounds on generic parameters in type aliases are not enforced

fn main() {}