• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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`.
15