Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
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
()
{}