diff options
Diffstat (limited to 'src/test/ui/error-codes/E0499.rs')
-rw-r--r-- | src/test/ui/error-codes/E0499.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/error-codes/E0499.rs b/src/test/ui/error-codes/E0499.rs deleted file mode 100644 index 919f97c8a..000000000 --- a/src/test/ui/error-codes/E0499.rs +++ /dev/null @@ -1,10 +0,0 @@ -fn main() { - let mut i = 0; - let mut x = &mut i; - let mut a = &mut i; //~ ERROR E0499 - a.use_mut(); - x.use_mut(); -} - -trait Fake { fn use_mut(&mut self) { } fn use_ref(&self) { } } -impl<T> Fake for T { } |