Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
rfc-2166-underscore-imports
/
duplicate.rs
blob: 95f7cae0b87d20435afc2ed5dfe436a21073c5e6 [
file
] [
log
] [
blame
]
// compile-pass
// aux-build:duplicate.rs
extern
crate duplicate
;
#[
duplicate
::
duplicate
]
use
main
as
_
;
// OK
macro_rules
!
duplicate
{
(
$item
:
item
)
=>
{
$item $item
}
}
duplicate
!(
use
std
as
_
;);
// OK
fn
main
()
{}