summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-after-move-implicity-coerced-object.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/use/use-after-move-implicity-coerced-object.stderr')
-rw-r--r--tests/ui/use/use-after-move-implicity-coerced-object.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/use/use-after-move-implicity-coerced-object.stderr b/tests/ui/use/use-after-move-implicity-coerced-object.stderr
index dfa0c0483..35ede2171 100644
--- a/tests/ui/use/use-after-move-implicity-coerced-object.stderr
+++ b/tests/ui/use/use-after-move-implicity-coerced-object.stderr
@@ -8,7 +8,7 @@ LL | l.push(n);
| - value moved here
LL |
LL | let x = n.to_string();
- | ^^^^^^^^^^^^^ value borrowed here after move
+ | ^ value borrowed here after move
|
note: consider changing this parameter type in method `push` to borrow instead if owning the value isn't necessary
--> $DIR/use-after-move-implicity-coerced-object.rs:17:27
@@ -18,6 +18,6 @@ LL | fn push(&mut self, n: Box<dyn ToString + 'static>) {
| |
| in this method
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0382`.