Skip to content

Commit bfdd90c

Browse files
committed
Modified test case again.
1 parent a771580 commit bfdd90c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/similar-tokens.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ mod x {
1414
}
1515

1616
// `.` is similar to `,` so list parsing should continue to closing `}`
17-
use x::{A. B}; //~ ERROR expected one of `,`, `::`, or `as`, found `.`
17+
use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`
1818

1919
fn main() {}

src/test/ui/similar-tokens.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: expected one of `,`, `::`, or `as`, found `.`
1+
error: expected one of `,`, `::`, `as`, or `}`, found `.`
22
--> $DIR/similar-tokens.rs:17:10
33
|
44
LL | use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`

0 commit comments

Comments
 (0)