fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
415 B14 linesraw
1error[E0428]: the name `f` is defined multiple times
2 --> $DIR/test-compile-fail1.rs:8:1
3  |
46 | pub fn f() {}
5  | ---------- previous definition of the value `f` here
67 | 
78 | pub fn f() {}
8  | ^^^^^^^^^^ `f` redefined here
9  |
10  = note: `f` 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`.