Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
similar-tokens.rs
blob: e3024c61ad2bd800da819675c749d809a5df53df [
file
] [
log
] [
blame
] [
edit
]
#![
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
()
{}