fork/rust

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

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

master
413 B14 linesraw
1error[E0428]: the name `a` is defined multiple times
2  --> $DIR/issue-3099-b.rs:3:1
3   |
4LL | pub mod a {}
5   | --------- previous definition of the module `a` here
6LL |
7LL | pub mod a {}
8   | ^^^^^^^^^ `a` redefined here
9   |
10   = note: `a` must be defined only once in the type namespace of this module
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0428`.