summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/no-pub-reexports-but-used.stderr
blob: b693dea193579f62535b2cd03e103d39bfef4e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
  --> $DIR/no-pub-reexports-but-used.rs:9:9
   |
LL | pub use m::*;
   |         ^^^^
   |
note: the most public imported item is `pub(crate)`
  --> $DIR/no-pub-reexports-but-used.rs:9:9
   |
LL | pub use m::*;
   |         ^^^^
   = help: reduce the glob import's visibility or increase visibility of imported items
note: the lint level is defined here
  --> $DIR/no-pub-reexports-but-used.rs:8:8
   |
LL | #[warn(unused_imports)]
   |        ^^^^^^^^^^^^^^

warning: 1 warning emitted