fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
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`.