Sign in
fuchsia
/
third_party
/
rust
/
043d9160769a330df5d8a21e846785e2c89f357d
/
.
/
src
/
test
/
ui
/
lint
/
lint-unnecessary-import-braces.rs
blob: 9a3398a8734e62716735fa3789a145b1a6e22ad5 [
file
] [
log
] [
blame
]
#![
deny
(
unused_import_braces
)]
use
test
::{
A
};
//~ ERROR braces around A is unnecessary
mod
test
{
use
test
::{
self
};
// OK
use
test
::{
self
as
rename
};
// OK
pub
struct
A
;
}
fn
main
()
{}