You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
After running cargo fix --edition, it tells me that my code is valid for rust 2015 and rust 2018. When I switch the edition to "2018", I get the following error on the use line:
error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
--> xxx.rs:33:5
|
33 | use toml;
| ^^^^ not an extern crate passed with `--extern`
|
note: this import refers to the macro imported here
--> xxx.rs:33:5
|
33 | use toml;
| ^^^^
I guess it's because there is a toml macro that's conflicting with the crate name. I'm not sure what cargo fix can do about that, but I thought I'd report it.
The text was updated successfully, but these errors were encountered:
in lib.rs:
In another file:
After running cargo fix --edition, it tells me that my code is valid for rust 2015 and rust 2018. When I switch the edition to "2018", I get the following error on the use line:
I guess it's because there is a toml macro that's conflicting with the crate name. I'm not sure what cargo fix can do about that, but I thought I'd report it.
The text was updated successfully, but these errors were encountered: