Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
tuple
/
tuple-struct-fields
/
test.rs
blob: 00677090d78c5b22bb6983ee1dc55192cd8ab9d5 [
file
] [
log
] [
blame
] [
edit
]
mod
foo
{
type
T
=
();
struct
S1
(
pub
(
in foo
)
(),
pub
(
T
),
pub
(
crate
)
(),
pub
(((),
T
)));
struct
S2
(
pub
((
foo
))
());
//~^ ERROR expected one of `)` or `,`, found `(`
//~| ERROR cannot find type `foo` in this scope
}
fn
main
()
{}