Recommend running cargo clean
in E0514 output
This commit is contained in:
parent
3e8f32e1c5
commit
7ed75ce97c
@ -1030,7 +1030,8 @@ impl CrateError {
|
||||
add,
|
||||
);
|
||||
err.help(&format!(
|
||||
"please recompile that crate using this compiler ({})",
|
||||
"please recompile that crate using this compiler ({}) \
|
||||
(consider running `cargo clean` first)",
|
||||
rustc_version(),
|
||||
));
|
||||
let mismatches = locator.crate_rejections.via_version.iter();
|
||||
|
Loading…
x
Reference in New Issue
Block a user