diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/error-codes/E0507.stderr (renamed from src/test/ui/error-codes/E0507.stderr) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0507.stderr b/tests/ui/error-codes/E0507.stderr index ce8d1ef03..03630f389 100644 --- a/src/test/ui/error-codes/E0507.stderr +++ b/tests/ui/error-codes/E0507.stderr @@ -7,7 +7,7 @@ LL | x.borrow().nothing_is_true(); | | value moved due to this method call | move occurs because value has type `TheDarkKnight`, which does not implement the `Copy` trait | -note: this function takes ownership of the receiver `self`, which moves value +note: `TheDarkKnight::nothing_is_true` takes ownership of the receiver `self`, which moves value --> $DIR/E0507.rs:6:24 | LL | fn nothing_is_true(self) {} |