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