]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-unnecessary-import-braces.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / lint / lint-unnecessary-import-braces.rs
1 #![deny(unused_import_braces)]
2
3 use test::{A}; //~ ERROR braces around A is unnecessary
4
5 mod test {
6     use test::{self}; // OK
7     use test::{self as rename}; // OK
8     pub struct A;
9 }
10
11 fn main() {}