diff options
Diffstat (limited to 'src/test/ui/moves/moves-based-on-type-tuple.stderr')
-rw-r--r-- | src/test/ui/moves/moves-based-on-type-tuple.stderr | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/moves/moves-based-on-type-tuple.stderr b/src/test/ui/moves/moves-based-on-type-tuple.stderr deleted file mode 100644 index 0bcce3012..000000000 --- a/src/test/ui/moves/moves-based-on-type-tuple.stderr +++ /dev/null @@ -1,19 +0,0 @@ -error[E0382]: use of moved value: `x` - --> $DIR/moves-based-on-type-tuple.rs:4:18 - | -LL | fn dup(x: Box<isize>) -> Box<(Box<isize>,Box<isize>)> { - | - move occurs because `x` has type `Box<isize>`, which does not implement the `Copy` trait -... -LL | Box::new((x, x)) - | - ^ value used here after move - | | - | value moved here - | -help: consider cloning the value if the performance cost is acceptable - | -LL | Box::new((x.clone(), x)) - | ++++++++ - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0382`. |