]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/token/issue-10636-2.rs
Remove the parse-fail test suite
[rust.git] / src / test / ui / token / issue-10636-2.rs
index c22baee680a02b12d9d9e9e49ef2414bdd7f96d2..711803754408f50a757d4d51534221e99256c98b 100644 (file)
 // first one. This would be easy-ish to address by better recovery in tokenisation.
 
 pub fn trace_option(option: Option<isize>) {
-    option.map(|some| 42; //~ NOTE: unclosed delimiter
+    option.map(|some| 42;
                           //~^ ERROR: expected one of
-                          //~| NOTE: expected one of
 
 } //~ ERROR: incorrect close delimiter
 //~^ ERROR: expected expression, found `)`
+
+fn main() {}