static UNUSED_IMPORT_BRACES: &LintExpand description
The unused_import_braces lint catches unnecessary braces around an
imported item.
§Example
ⓘ
#![deny(unused_import_braces)]
use test::{A};
pub mod test {
pub struct A;
}{{produces}}
§Explanation
If there is only a single item, then remove the braces (use test::A;
for example).
This lint is “allow” by default because it is only enforcing a stylistic choice.