]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/issue-67690-type-alias-bound-diagnostic-crash.rs
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
[rust.git] / src / test / ui / type / issue-67690-type-alias-bound-diagnostic-crash.rs
1 // Regression test for issue #67690
2 // Rustc endless loop out-of-memory and consequent SIGKILL in generic new type
3
4 // check-pass
5 pub type T<P: Send + Send + Send> = P;
6 //~^ WARN bounds on generic parameters are not enforced in type aliases
7
8 fn main() {}