rust/tests/ui/error-codes/E0050.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
307 B
Rust
Raw Normal View History

2016-05-19 12:00:43 +00:00
trait Foo {
fn foo(&self, x: u8) -> bool;
fn bar(&self, x: u8, y: u8, z: u8);
fn less(&self);
2016-05-19 12:00:43 +00:00
}
struct Bar;
impl Foo for Bar {
fn foo(&self) -> bool { true } //~ ERROR E0050
2016-09-10 13:27:33 +00:00
fn bar(&self) { } //~ ERROR E0050
fn less(&self, x: u8, y: u8, z: u8) { } //~ ERROR E0050
2016-05-19 12:00:43 +00:00
}
fn main() {
}