mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
12 lines
240 B
Rust
12 lines
240 B
Rust
#![allow(unused_imports)]
|
|
|
|
pub 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() {}
|