]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/require-parens-for-chained-comparison.rs
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / parser / require-parens-for-chained-comparison.rs
index 68636f6b907ef7448d2dc922408ff2f544a424d8..f29fd7a5472d45ce75e870a02b78979c0e94f921 100644 (file)
@@ -22,10 +22,12 @@ fn main() {
     let _ = f<'_, i8>();
     //~^ ERROR expected one of
     //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
+    //~| ERROR expected
 
     f<'_>();
     //~^ comparison operators cannot be chained
     //~| HELP use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
+    //~| ERROR expected
 
     let _ = f<u8>;
     //~^ ERROR comparison operators cannot be chained