Error message for too old compiler?


#1

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.


#2

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