rust/tests/ui/infinite/infinite-trait-alias-recursion.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
162 B
Rust
Raw Normal View History

2021-08-21 15:14:13 -05:00
#![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() {}