diff options
Diffstat (limited to 'src/test/ui/error-codes/E0185.rs')
-rw-r--r-- | src/test/ui/error-codes/E0185.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/error-codes/E0185.rs b/src/test/ui/error-codes/E0185.rs deleted file mode 100644 index 45eb8b0f2..000000000 --- a/src/test/ui/error-codes/E0185.rs +++ /dev/null @@ -1,15 +0,0 @@ -trait Foo { - fn foo(); - //~^ NOTE trait method declared without `&self` -} - -struct Bar; - -impl Foo for Bar { - fn foo(&self) {} - //~^ ERROR E0185 - //~| NOTE `&self` used in impl -} - -fn main() { -} |