Rollup merge of #89407 - pierwill:recommend-clean-E0514, r=davidtwco
Recommend running `cargo clean` in E0514 output This suggestion has worked for me before. Seems to me it could help others.
This commit is contained in:
commit
9381d7a898
@ -1030,7 +1030,8 @@ impl CrateError {
|
|||||||
add,
|
add,
|
||||||
);
|
);
|
||||||
err.help(&format!(
|
err.help(&format!(
|
||||||
"please recompile that crate using this compiler ({})",
|
"please recompile that crate using this compiler ({}) \
|
||||||
|
(consider running `cargo clean` first)",
|
||||||
rustc_version(),
|
rustc_version(),
|
||||||
));
|
));
|
||||||
let mismatches = locator.crate_rejections.via_version.iter();
|
let mismatches = locator.crate_rejections.via_version.iter();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user