diff options
Diffstat (limited to 'src/test/ui/error-codes/E0119.rs')
-rw-r--r-- | src/test/ui/error-codes/E0119.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/error-codes/E0119.rs b/src/test/ui/error-codes/E0119.rs deleted file mode 100644 index 7f89e5a1a..000000000 --- a/src/test/ui/error-codes/E0119.rs +++ /dev/null @@ -1,18 +0,0 @@ -trait MyTrait { - fn get(&self) -> usize; -} - -impl<T> MyTrait for T { - fn get(&self) -> usize { 0 } -} - -struct Foo { - value: usize -} - -impl MyTrait for Foo { //~ ERROR E0119 - fn get(&self) -> usize { self.value } -} - -fn main() { -} |