summaryrefslogtreecommitdiffstats
path: root/tests/ui/infinite/infinite-type-alias-mutual-recursion.rs
blob: 5381eedcfacfc412fad7a2823a932b7beabdb434 (plain)
1
2
3
4
5
6
type X1 = X2;
//~^ ERROR cycle detected when expanding type alias `X1`
type X2 = X3;
type X3 = X1;

fn main() {}