Error message for too old compiler?

At several occasions I’ve been getting weird compile errors from random crates. It turns out I need to update Cargo and/or rustc to a newer version.

It would be nice if crates could have a minimum version requirement so that we can get an error something like “You need rust > 2017-01-32 to compile this crate” instead of some cryptic error message that is mostly confusing.

1 Like

Cargo issue: https://github.com/rust-lang/cargo/issues/2751

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.