aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3646.rs
blob: 80693cb9bdb25b7baf9585d87689f16a82f15636 (plain)
1
2
3
4
5
6
7
trait Foo {
    type T;
    fn foo() -> Foo<main>;
    // { dg-error "generic arguments are not allowed for this type .E0109." "" { target *-*-* } .-1 }
}

fn main() {}