fork/rust

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

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

master
799 B32 linesraw
1error[E0428]: the name `m` is defined multiple times
2  --> $DIR/effective_visibilities_invariants.rs:7:1
3   |
4LL | pub mod m {}
5   | --------- previous definition of the module `m` here
6LL |
7LL | pub mod m {
8   | ^^^^^^^^^ `m` redefined here
9   |
10   = note: `m` must be defined only once in the type namespace of this module
11
12error: module has missing stability attribute
13  --> $DIR/effective_visibilities_invariants.rs:3:1
14   |
15LL | / #![feature(staged_api)]
16LL | |
17LL | | pub mod m {}
18LL | |
19...  |
20LL | |
21LL | | fn main() {}
22   | |____________^
23
24error: module has missing stability attribute
25  --> $DIR/effective_visibilities_invariants.rs:5:1
26   |
27LL | pub mod m {}
28   | ^^^^^^^^^^^^
29
30error: aborting due to 3 previous errors
31
32For more information about this error, try `rustc --explain E0428`.