]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/test-compile-fail1.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / rustdoc-ui / test-compile-fail1.stderr
1 error[E0428]: the name `f` is defined multiple times
2  --> $DIR/test-compile-fail1.rs:8:1
3   |
4 6 | pub fn f() {}
5   | ---------- previous definition of the value `f` here
6 7 |
7 8 | pub fn f() {}
8   | ^^^^^^^^^^ `f` redefined here
9   |
10   = note: `f` 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`.