Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
suggest-import-without-clobbering-attrs.rs
blob: 6cc53fb10865820cf829538907555dc389ca8c90 [
file
] [
log
] [
blame
] [
edit
]
//@ run-rustfix
//@ compile-flags: -Aunused
#[
cfg
(
all
())]
use
y
::
Whatever
;
mod
y
{
pub
(
crate
)
fn
z
()
{}
pub
(
crate
)
struct
Whatever
;
}
fn
main
()
{
z
();
//~^ ERROR cannot find function `z` in this scope
}