summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-unnecessary-import-braces.stderr
blob: 2d289404ded74face4f5a96419b27bf691a3eb8e (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 previous error