]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-conflict-import-vs-extern-crate.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / resolve-conflict-import-vs-extern-crate.stderr
1 error[E0254]: the name `std` is defined multiple times
2   --> $DIR/resolve-conflict-import-vs-extern-crate.rs:1:5
3    |
4 LL | use std::slice as std;
5    |     ^^^^^^^^^^^^^^^^^ `std` reimported here
6    |
7    = note: `std` must be defined only once in the type namespace of this module
8 help: you can use `as` to change the binding name of the import
9    |
10 LL | use std::slice as other_std;
11    |     ^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0254`.