rust/tests/ui/lint/lint-unnecessary-import-bra...

15 lines
340 B
Plaintext

error: braces around A is unnecessary
--> $DIR/lint-unnecessary-import-braces.rs:3:1
|
LL | use test::{A};
| ^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/lint-unnecessary-import-braces.rs:1:9
|
LL | #![deny(unused_import_braces)]
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error