We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68df7cf commit 1e715dfCopy full SHA for 1e715df
gcc/testsuite/rust/compile/invalid_impl_for.rs
@@ -0,0 +1,4 @@
1
+impl Foo for
2
+fn main() {// { dg-error "unexpected token .identifier. - expected bare function" }
3
+// { dg-error "could not parse type in trait impl" "" { target *-*-* } .-1 }
4
+}
0 commit comments