fork/rust

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

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

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