fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: unreachable `pub` item 2 --> $DIR/issue-103317.rs:7:5 3 | 4LL | 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 10note: the lint level is defined here 11 --> $DIR/issue-103317.rs:4:8 12 | 13LL | #[warn(unreachable_pub)] 14 | ^^^^^^^^^^^^^^^ 15 16warning: 1 warning emitted 17