Debian Codegraph @

gcc/testsuite/rust/compile/issue-3646.rs

raw
1 trait Foo {
2 type T;
3 fn foo() -> Foo<main>;
4 // { dg-error "generic arguments are not allowed for this type .E0109." "" { target *-*-* } .-1 }
5 }
6
7 fn main() {}