diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/unop-move-semantics.stderr (renamed from src/test/ui/unop-move-semantics.stderr) | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/unop-move-semantics.stderr b/tests/ui/unop-move-semantics.stderr index d52a92b88..2a3ca1443 100644 --- a/src/test/ui/unop-move-semantics.stderr +++ b/tests/ui/unop-move-semantics.stderr @@ -11,9 +11,6 @@ LL | x.clone(); | note: calling this operator moves the left-hand side --> $SRC_DIR/core/src/ops/bit.rs:LL:COL - | -LL | fn not(self) -> Self::Output; - | ^^^^ help: consider cloning the value if the performance cost is acceptable | LL | !x.clone(); @@ -57,9 +54,6 @@ LL | !*m; | note: calling this operator moves the left-hand side --> $SRC_DIR/core/src/ops/bit.rs:LL:COL - | -LL | fn not(self) -> Self::Output; - | ^^^^ error[E0507]: cannot move out of `*n` which is behind a shared reference --> $DIR/unop-move-semantics.rs:26:6 |