Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
privacy
/
legacy-ctor-visibility.rs
blob: e698a481173f7c4e2aa6fcb67a0ccfdf9348901d [
file
] [
log
] [
blame
]
use
m
::
S
;
mod
m
{
pub
struct
S
(
u8
);
mod
n
{
use
crate
::
S
;
fn
f
()
{
S
(
10
);
//~^ ERROR expected function, tuple struct or tuple variant, found struct `S`
}
}
}
fn
main
()
{}