Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
tuple
/
tuple-struct-fields
/
test.rs
blob: 29aabf4579b127362158427d1529e98b8ace1927 [
file
] [
log
] [
blame
]
mod
foo
{
type
T
=
();
struct
S1
(
pub
(
in crate
::
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
()
{}