summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-unnecessary-import-braces.stderr
blob: 5f441ef4a664012dbfdb4e9d92ce1be242ce02d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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