Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
underscore-imports
/
unused-2018.rs
blob: d06a26a5f116664b5ce0094e594d5e50b4a5c4c0 [
file
] [
log
] [
blame
]
// edition:2018
#![
deny
(
unused_imports
)]
mod
multi_segment
{
use
core
::
any
;
//~ ERROR unused import: `core::any`
}
mod
single_segment
{
use
core
;
//~ ERROR unused import: `core`
}
mod
single_segment_underscore
{
use
core
as
_
;
// OK
}
fn
main
()
{}