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 f54b767 commit f3b50aeCopy full SHA for f3b50ae
src/test/compile-fail/iface-test.rs
@@ -1,9 +1,5 @@
1
iface foo { fn foo(); }
2
3
-impl of foo for uint {}
4
-
5
-impl of foo for uint { fn foo() -> int {} }
6
7
impl of int for uint { fn foo() {} } //~ ERROR interface
8
9
fn main() {}
0 commit comments