Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
hygiene
/
privacy-early.rs
blob: 07680a7b9b22d4d3e1e0aa41c2ec73f6d1139d83 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
!();
}