fork/rust

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

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

master
248 B16 linesraw
1// run-rustfix
2// compile-flags: --cfg=whatever -Aunused
3
4use y::z;
5#[cfg(whatever)]
6use y::Whatever;
7
8mod y {
9    pub(crate) fn z() {}
10    pub(crate) struct Whatever;
11}
12
13fn main() {
14    z();
15    //~^ ERROR cannot find function `z` in this scope
16}