Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cargo/util/toml/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ pub fn to_real_manifest(
let edition_msrv = RustVersion::try_from(edition_msrv).unwrap();
if !edition_msrv.is_compatible_with(pkg_msrv.as_partial()) {
bail!(
"rust-version {} is older than first version ({}) required by \
"rust-version {} is imcompatible with the version ({}) required by \
the specified edition ({})",
pkg_msrv,
edition_msrv,
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/rust_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn rust_version_older_than_edition() {
[ERROR] failed to parse manifest at `[ROOT]/foo/Cargo.toml`

Caused by:
rust-version 1.1 is older than first version (1.31.0) required by the specified edition (2018)
rust-version 1.1 is imcompatible with the version (1.31.0) required by the specified edition (2018)

"#]])
.run();
Expand Down
Loading