E0460 long description is too optimistic about cargo's abilities #110120
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
A-error-codes
Area: Explanation of an error code (--explain)
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Location
rust/compiler/rustc_error_codes/src/error_codes/E0460.md
Lines 61 to 67 in 5ecac8e
Summary
This makes the claim "using cargo will automatically fix your problem". This is unfortunately not true. Consider the following error found while working on #81930:
All the dependencies involved here were compiled by cargo, but the error still appears. I am currently trying to figure out why; I think it's related to rebuilding the sysroot, but cargo not noticing that it needs to recompile a crate that depends on
core
? Maybe rustc needs to add a dependency edge to the.d
files it emits?cc #76720 (comment), @Ezrashaw
The text was updated successfully, but these errors were encountered: