2017-11-06 21:40:21 -05:00
|
|
|
error[E0259]: the name `std` is defined multiple times
|
|
|
|
--> $DIR/issue-45799-bad-extern-crate-rename-suggestion-formatting.rs:11:1
|
|
|
|
|
|
|
|
|
11 | extern crate std;
|
2018-01-25 22:40:38 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^ `std` reimported here
|
2017-11-06 21:40:21 -05:00
|
|
|
|
|
|
|
|
= note: `std` must be defined only once in the type namespace of this module
|
|
|
|
help: You can use `as` to change the binding name of the import
|
|
|
|
|
|
2018-01-28 20:48:54 -05:00
|
|
|
11 | extern crate std as other_std;
|
2018-01-25 22:40:38 -08:00
|
|
|
|
|
2017-11-06 21:40:21 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0259"
|