Prepare Cargo for resolver = "2"
as the default in the 2021 edition
#9048
Labels
A-editions
Area: edition-specific issues
In the 2021 edition for Cargo we're planning on having
resolver = "2"
be the default for all projects (e.g. if omitted thenresolver = "2"
will be inferred ifedition = "2021"
). Some work items that need to be implemented for this are:cargo fix --edition
whereresolver
is not specified needs to generate a warning if the 1/2 feature graphs differ. Ideally we'd also print differences here, but at the very least Cargo needs to recommendresolver = "1"
be written down to avoid breakage in 2021.resolver = "2"
if not otherwise specified in the 2021 edition.edition = "..."
specifier.The text was updated successfully, but these errors were encountered: