summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/use-redundant/use-redundant-glob.stderr
blob: d3b406d82b6db7cc6e6a867941d281c188eabb77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
warning: the item `Foo` is imported redundantly
  --> $DIR/use-redundant-glob.rs:11:9
   |
LL |     use bar::*;
   |         ------ the item `Foo` is already imported here
LL |     use bar::Foo;
   |         ^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/use-redundant-glob.rs:2:9
   |
LL | #![warn(unused_imports)]
   |         ^^^^^^^^^^^^^^

warning: 1 warning emitted