74d4e2a32e
Closes #1475
10 lines
244 B
Rust
10 lines
244 B
Rust
iface foo { fn foo(); }
|
|
|
|
impl of foo for uint {} //! ERROR missing method `foo`
|
|
|
|
impl of foo for uint { fn foo() -> int {} } //! ERROR incompatible type
|
|
|
|
impl of int for uint { fn foo() {} } //! ERROR can only implement interface
|
|
|
|
fn main() {}
|