]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/similar-tokens.rs
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / similar-tokens.rs
index b16d584ed42461ffbf1609972a7284fc68296fb6..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() {}