]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-unnecessary-import-braces.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / 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() {}