summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0282.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0282.rs')
-rw-r--r--tests/ui/error-codes/E0282.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0282.rs b/tests/ui/error-codes/E0282.rs
index f1f93b3ae..5bc29cda9 100644
--- a/tests/ui/error-codes/E0282.rs
+++ b/tests/ui/error-codes/E0282.rs
@@ -1,4 +1,4 @@
fn main() {
- let x = "hello".chars().rev().collect();
+ let x;
//~^ ERROR E0282
}