mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
11 lines
162 B
Rust
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() {}
|