rust/src/test/ui/similar-tokens.rs
2018-12-25 21:08:33 -07:00

10 lines
209 B
Rust

mod x {
pub struct A;
pub struct B;
}
// `.` is similar to `,` so list parsing should continue to closing `}`
use x::{A. B}; //~ ERROR expected one of `,`, `::`, `as`, or `}`, found `.`
fn main() {}