Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
hygiene
/
privacy-early.rs
blob: 58fc74d65a54a0bc191f9407d7c2ca45f5d8997d [
file
] [
log
] [
blame
]
// edition:2018
#![
feature
(
decl_macro
)]
mod
foo
{
fn
f
()
{}
macro f
()
{}
pub
macro m
()
{
use
f
as
g
;
//~ ERROR `f` is private, and cannot be re-exported
f
!();
}
}
fn
main
()
{
foo
::
m
!();
}