rust/tests/ui/infinite/infinite-trait-alias-recursion.rs
2023-01-11 09:32:08 +00:00

11 lines
162 B
Rust

#![feature(trait_alias)]
trait T1 = T2;
//~^ ERROR cycle detected when computing the super predicates of `T1`
trait T2 = T3;
trait T3 = T1 + T3;
fn main() {}