]> git.lizzy.rs Git - rust.git/commitdiff
Modified test case again.
authorCrazycolorz5 <Crazycolorz5@gmail.com>
Fri, 1 Jun 2018 19:51:00 +0000 (15:51 -0400)
committerCrazycolorz5 <Crazycolorz5@gmail.com>
Fri, 1 Jun 2018 19:51:00 +0000 (15:51 -0400)
src/test/ui/similar-tokens.rs
src/test/ui/similar-tokens.stderr

index eb7eab9e42dd7a6a86dc802676b91c541152fb4b..350a2262391b5da92dffaf36293e42e46078cde1 100644 (file)
@@ -14,6 +14,6 @@ mod x {
 }
 
 // `.` is similar to `,` so list parsing should continue to closing `}`
-use x::{A. B}; //~ ERROR expected one of `,`, `::`, or `as`, found `.`
+use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`
 
 fn main() {}
index e43750b982a35f296a91d6535c49d45fc4a2b028..90acc56cbc99964504da56f29db676405d3c41a5 100644 (file)
@@ -1,4 +1,4 @@
-error: expected one of `,`, `::`, or `as`, found `.`
+error: expected one of `,`, `::`, `as`, or `}`, found `.`
   --> $DIR/similar-tokens.rs:17:10
    |
 LL | use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`