@@ -42,15 +42,15 @@ LL | pub neutrons: usize,
4242 | help: consider restricting its visibility: `pub(crate)`
4343
4444warning: unreachable `pub` item
45- --> $DIR/unreachable_pub.rs:20 :9
45+ --> $DIR/unreachable_pub.rs:24 :9
4646 |
4747LL | pub fn count_neutrons(&self) -> usize { self.neutrons }
4848 | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4949 | |
5050 | help: consider restricting its visibility: `pub(crate)`
5151
5252warning: unreachable `pub` item
53- --> $DIR/unreachable_pub.rs:29 :5
53+ --> $DIR/unreachable_pub.rs:33 :5
5454 |
5555LL | pub enum Helium {}
5656 | ---^^^^^^^^^^^^
@@ -60,7 +60,7 @@ LL | pub enum Helium {}
6060 = help: or consider exporting it for use by other crates
6161
6262warning: unreachable `pub` item
63- --> $DIR/unreachable_pub.rs:30 :5
63+ --> $DIR/unreachable_pub.rs:34 :5
6464 |
6565LL | pub union Lithium { c1: usize, c2: u8 }
6666 | ---^^^^^^^^^^^^^^
@@ -70,7 +70,7 @@ LL | pub union Lithium { c1: usize, c2: u8 }
7070 = help: or consider exporting it for use by other crates
7171
7272warning: unreachable `pub` item
73- --> $DIR/unreachable_pub.rs:31 :5
73+ --> $DIR/unreachable_pub.rs:35 :5
7474 |
7575LL | pub fn beryllium() {}
7676 | ---^^^^^^^^^^^^^^^
@@ -80,7 +80,7 @@ LL | pub fn beryllium() {}
8080 = help: or consider exporting it for use by other crates
8181
8282warning: unreachable `pub` item
83- --> $DIR/unreachable_pub.rs:32 :5
83+ --> $DIR/unreachable_pub.rs:36 :5
8484 |
8585LL | pub trait Boron {}
8686 | ---^^^^^^^^^^^^
@@ -90,7 +90,7 @@ LL | pub trait Boron {}
9090 = help: or consider exporting it for use by other crates
9191
9292warning: unreachable `pub` item
93- --> $DIR/unreachable_pub.rs:33 :5
93+ --> $DIR/unreachable_pub.rs:37 :5
9494 |
9595LL | pub const CARBON: usize = 1;
9696 | ---^^^^^^^^^^^^^^^^^^^^
@@ -100,7 +100,7 @@ LL | pub const CARBON: usize = 1;
100100 = help: or consider exporting it for use by other crates
101101
102102warning: unreachable `pub` item
103- --> $DIR/unreachable_pub.rs:34 :5
103+ --> $DIR/unreachable_pub.rs:38 :5
104104 |
105105LL | pub static NITROGEN: usize = 2;
106106 | ---^^^^^^^^^^^^^^^^^^^^^^^
@@ -110,7 +110,7 @@ LL | pub static NITROGEN: usize = 2;
110110 = help: or consider exporting it for use by other crates
111111
112112warning: unreachable `pub` item
113- --> $DIR/unreachable_pub.rs:35 :5
113+ --> $DIR/unreachable_pub.rs:39 :5
114114 |
115115LL | pub type Oxygen = bool;
116116 | ---^^^^^^^^^^^^
@@ -120,7 +120,7 @@ LL | pub type Oxygen = bool;
120120 = help: or consider exporting it for use by other crates
121121
122122warning: unreachable `pub` item
123- --> $DIR/unreachable_pub.rs:38 :47
123+ --> $DIR/unreachable_pub.rs:42 :47
124124 |
125125LL | ($visibility: vis, $name: ident) => { $visibility struct $name {} }
126126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -135,7 +135,7 @@ LL | define_empty_struct_with_visibility!(pub, Fluorine);
135135 = note: this warning originates in the macro `define_empty_struct_with_visibility` (in Nightly builds, run with -Z macro-backtrace for more info)
136136
137137warning: unreachable `pub` item
138- --> $DIR/unreachable_pub.rs:44 :9
138+ --> $DIR/unreachable_pub.rs:48 :9
139139 |
140140LL | pub fn catalyze() -> bool;
141141 | ---^^^^^^^^^^^^^^^^^^^^^^
0 commit comments