diff options
Diffstat (limited to 'src/test/ui/error-codes/E0507.rs')
-rw-r--r-- | src/test/ui/error-codes/E0507.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/error-codes/E0507.rs b/src/test/ui/error-codes/E0507.rs deleted file mode 100644 index bae90a44c..000000000 --- a/src/test/ui/error-codes/E0507.rs +++ /dev/null @@ -1,13 +0,0 @@ -use std::cell::RefCell; - -struct TheDarkKnight; - -impl TheDarkKnight { - fn nothing_is_true(self) {} -} - -fn main() { - let x = RefCell::new(TheDarkKnight); - - x.borrow().nothing_is_true(); //~ ERROR E0507 -} |