fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0255]: the name `foo` is defined multiple times 2 --> $DIR/E0255.rs:3:1 3 | 4LL | use bar::foo; 5 | -------- previous import of the value `foo` here 6LL | 7LL | fn foo() {} 8 | ^^^^^^^^ `foo` redefined here 9 | 10 = note: `foo` must be defined only once in the value namespace of this module 11help: you can use `as` to change the binding name of the import 12 | 13LL | use bar::foo as other_foo; 14 | ^^^^^^^^^^^^^^^^^^^^^ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0255`.