☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
issue-3646.rs
☽
☼
gcc/testsuite/rust/compile/issue-3646.rs
code
plain
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() {}