fork/rust

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

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

master
1.7 KiB53 linesraw
1error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner`
2  --> $DIR/diagnostics-cross-crate.rs:18:23
3   |
4LL |     cfged_out::inner::doesnt_exist::hello();
5   |                       ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner`
6
7error[E0425]: cannot find function `uwu` in crate `cfged_out`
8  --> $DIR/diagnostics-cross-crate.rs:7:16
9   |
10LL |     cfged_out::uwu();
11   |                ^^^ not found in `cfged_out`
12
13error[E0425]: cannot find function `uwu` in module `cfged_out::inner`
14  --> $DIR/diagnostics-cross-crate.rs:11:23
15   |
16LL |     cfged_out::inner::uwu();
17   |                       ^^^ not found in `cfged_out::inner`
18   |
19note: found an item that was configured out
20  --> $DIR/auxiliary/cfged_out.rs:3:12
21   |
22LL |     pub fn uwu() {}
23   |            ^^^
24
25error[E0425]: cannot find function `meow` in module `cfged_out::inner::right`
26  --> $DIR/diagnostics-cross-crate.rs:22:30
27   |
28LL |     cfged_out::inner::right::meow();
29   |                              ^^^^ not found in `cfged_out::inner::right`
30   |
31note: found an item that was configured out
32  --> $DIR/auxiliary/cfged_out.rs:17:16
33   |
34LL |         pub fn meow() {}
35   |                ^^^^
36   = note: the item is gated behind the `what-a-cool-feature` feature
37
38error[E0425]: cannot find function `vanished` in crate `cfged_out`
39  --> $DIR/diagnostics-cross-crate.rs:28:16
40   |
41LL |     cfged_out::vanished();
42   |                ^^^^^^^^ not found in `cfged_out`
43   |
44note: found an item that was configured out
45  --> $DIR/auxiliary/cfged_out.rs:22:8
46   |
47LL | pub fn vanished() {}
48   |        ^^^^^^^^
49
50error: aborting due to 5 previous errors
51
52Some errors have detailed explanations: E0425, E0433.
53For more information about an error, try `rustc --explain E0425`.