]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-103317.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / issue-103317.stderr
1 warning: unreachable `pub` item
2   --> $DIR/issue-103317.rs:7:5
3    |
4 LL |     pub enum T {
5    |     ---^^^^^^^
6    |     |
7    |     help: consider restricting its visibility: `pub(crate)`
8    |
9    = help: or consider exporting it for use by other crates
10 note: the lint level is defined here
11   --> $DIR/issue-103317.rs:4:8
12    |
13 LL | #[warn(unreachable_pub)]
14    |        ^^^^^^^^^^^^^^^
15
16 warning: 1 warning emitted
17