summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/issue-103317.stderr
blob: 9c982ddc3464ac6063a1f4a191e705eaa22e7e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
warning: unreachable `pub` item
  --> $DIR/issue-103317.rs:7:5
   |
LL |     pub enum T {
   |     ---^^^^^^^
   |     |
   |     help: consider restricting its visibility: `pub(crate)`
   |
   = help: or consider exporting it for use by other crates
note: the lint level is defined here
  --> $DIR/issue-103317.rs:4:8
   |
LL | #[warn(unreachable_pub)]
   |        ^^^^^^^^^^^^^^^

warning: 1 warning emitted