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
Problem
I want to migrate the containers crate to the 2018 edition. I do "cargo fix --edition" in the crate root, which emits no error message, then write 'edition = "2018"' in Cargo.toml, but building the crate so fails.
Wanted outcome: Crate can be built with edition = "2018".
Actual outcome: "cargo build" fails.
Seems to be due to name conflicts between the ptr crate and core::ptr. I am not sure how to bestly disambiguate, but "cargo fix" should at least emit an error message and fail.
Output of cargo version:
cargo 1.45.0 (744bd1f 2020-06-15)
The text was updated successfully, but these errors were encountered:
Problem
I want to migrate the containers crate to the 2018 edition. I do "cargo fix --edition" in the crate root, which emits no error message, then write 'edition = "2018"' in Cargo.toml, but building the crate so fails.
Wanted outcome: Crate can be built with edition = "2018".
Actual outcome: "cargo build" fails.
Steps
Possible Solution(s)
Notes
Seems to be due to name conflicts between the
ptr
crate andcore::ptr
. I am not sure how to bestly disambiguate, but "cargo fix" should at least emit an error message and fail.Output of
cargo version
:cargo 1.45.0 (744bd1f 2020-06-15)
The text was updated successfully, but these errors were encountered: