diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-move-out-of-overloaded-auto-deref.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-move-out-of-overloaded-auto-deref.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/borrowck/borrowck-move-out-of-overloaded-auto-deref.rs b/src/test/ui/borrowck/borrowck-move-out-of-overloaded-auto-deref.rs deleted file mode 100644 index 0b9e7102c..000000000 --- a/src/test/ui/borrowck/borrowck-move-out-of-overloaded-auto-deref.rs +++ /dev/null @@ -1,6 +0,0 @@ -use std::rc::Rc; - -pub fn main() { - let _x = Rc::new(vec![1, 2]).into_iter(); - //~^ ERROR [E0507] -} |