-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 `,`, `::`, or `as`, found `.`
- | ^ expected one of `,`, `::`, or `as` here
+LL | use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`
+ | ^ expected one of `,`, `::`, `as`, or `}` here
error: aborting due to previous error