fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
411 B17 linesraw
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