summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-after-move-self-based-on-type.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/use/use-after-move-self-based-on-type.stderr (renamed from src/test/ui/use/use-after-move-self-based-on-type.stderr)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/use/use-after-move-self-based-on-type.stderr b/tests/ui/use/use-after-move-self-based-on-type.stderr
index 7fdc4ab25..1bdf49801 100644
--- a/src/test/ui/use/use-after-move-self-based-on-type.stderr
+++ b/tests/ui/use/use-after-move-self-based-on-type.stderr
@@ -8,7 +8,7 @@ LL | self.bar();
LL | return self.x;
| ^^^^^^ value used here after move
|
-note: this function takes ownership of the receiver `self`, which moves `self`
+note: `S::bar` takes ownership of the receiver `self`, which moves `self`
--> $DIR/use-after-move-self-based-on-type.rs:15:16
|
LL | pub fn bar(self) {}