aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3652.rs
blob: 537ca9f881a28d3e4749788ac48a1d65e436d7a1 (plain)
1
2
3
4
5
6
7
trait Foo {
    type T;
    fn foo() -> T<<Self as Foo>::T>;
    // { dg-error "could not resolve type path .T. .E0412." "" { target *-*-* } .-1 }
}

fn foo() {}