summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0282.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0282.stderr')
-rw-r--r--tests/ui/error-codes/E0282.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/error-codes/E0282.stderr b/tests/ui/error-codes/E0282.stderr
index 892d3a81f..295e84803 100644
--- a/tests/ui/error-codes/E0282.stderr
+++ b/tests/ui/error-codes/E0282.stderr
@@ -1,14 +1,14 @@
error[E0282]: type annotations needed
--> $DIR/E0282.rs:2:9
|
-LL | let x = "hello".chars().rev().collect();
+LL | let x;
| ^
|
help: consider giving `x` an explicit type
|
-LL | let x: Vec<_> = "hello".chars().rev().collect();
- | ++++++++
+LL | let x: /* Type */;
+ | ++++++++++++
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0282`.