Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
use
/
use-paths-as-items.rs
blob: 7b5eb56b18fd8f16f11373a98a3834d59da5455a [
file
] [
log
] [
blame
] [
edit
]
// Each path node in a `use` declaration must be treated as an item. If not, the following code
// will trigger an ICE.
//
// Related issue: #25763
use
std
::{
mem
,
ptr
};
use
std
::
mem
;
//~ ERROR the name `mem` is defined multiple times
fn
main
()
{}