diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-partial-reinit-2.stderr')
-rw-r--r-- | src/test/ui/borrowck/borrowck-partial-reinit-2.stderr | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/borrowck/borrowck-partial-reinit-2.stderr b/src/test/ui/borrowck/borrowck-partial-reinit-2.stderr deleted file mode 100644 index 36a871fbb..000000000 --- a/src/test/ui/borrowck/borrowck-partial-reinit-2.stderr +++ /dev/null @@ -1,13 +0,0 @@ -error[E0382]: assign of moved value: `t` - --> $DIR/borrowck-partial-reinit-2.rs:15:5 - | -LL | let mut t = Test { a: 1, b: None}; - | ----- move occurs because `t` has type `Test`, which does not implement the `Copy` trait -LL | let mut u = Test { a: 2, b: Some(Box::new(t))}; - | - value moved here -LL | t.b = Some(Box::new(u)); - | ^^^ value assigned here after move - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0382`. |