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.


Cargo issue: