diff options
Diffstat (limited to 'src/test/ui/use/use-after-move-based-on-type.rs')
-rw-r--r-- | src/test/ui/use/use-after-move-based-on-type.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/use/use-after-move-based-on-type.rs b/src/test/ui/use/use-after-move-based-on-type.rs deleted file mode 100644 index ba7aa0345..000000000 --- a/src/test/ui/use/use-after-move-based-on-type.rs +++ /dev/null @@ -1,5 +0,0 @@ -fn main() { - let x = "Hello!".to_string(); - let _y = x; - println!("{}", x); //~ ERROR borrow of moved value -} |