diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/cfg/diagnostics-reexport.rs | 4 | ||||
| -rw-r--r-- | tests/ui/cfg/diagnostics-reexport.stderr | 10 |
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/ui/cfg/diagnostics-reexport.rs b/tests/ui/cfg/diagnostics-reexport.rs index bdb57df2f25..c6a714fca71 100644 --- a/tests/ui/cfg/diagnostics-reexport.rs +++ b/tests/ui/cfg/diagnostics-reexport.rs @@ -1,7 +1,7 @@ pub mod inner { - #[cfg(false)] //~ NOTE the item is gated here + #[cfg(false)] mod gone { - pub fn uwu() {} //~ NOTE found an item that was configured out + pub fn uwu() {} } #[cfg(false)] //~ NOTE the item is gated here diff --git a/tests/ui/cfg/diagnostics-reexport.stderr b/tests/ui/cfg/diagnostics-reexport.stderr index 82412ed49c5..bf1bbcba7e4 100644 --- a/tests/ui/cfg/diagnostics-reexport.stderr +++ b/tests/ui/cfg/diagnostics-reexport.stderr @@ -51,16 +51,6 @@ LL | inner::uwu(); | ^^^ not found in `inner` | note: found an item that was configured out - --> $DIR/diagnostics-reexport.rs:4:16 - | -LL | pub fn uwu() {} - | ^^^ -note: the item is gated here - --> $DIR/diagnostics-reexport.rs:2:11 - | -LL | #[cfg(false)] - | ^^^^^ -note: found an item that was configured out --> $DIR/diagnostics-reexport.rs:8:20 | LL | pub use super::uwu; |
