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