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