-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.
Description
This is a consequence of #128534 plus rust-lang/cargo#9887: on a build failure in the sysroot, x.py check library
now prints
error[E0425]: cannot find function `handle_errors` in this scope
--> alloc/src/raw_vec.rs:177:25
|
177 | Err(err) => handle_errors(err),
| ^^^^^^^^^^^^^ help: a function with a similar name exists: `handle_error`
...
607 | fn handle_error(e: TryReserveError) -> ! {
| ---------------------------------------- similarly named function `handle_error` defined here
Note that the file name no longer includes the leading library/
. As a consequence, RA cannot locate the error, so it is not shown in the IDE at all.
This will make working on the standard library a lot more painful, unfortunately.
Cc @bjorn3 @epage @Veykril
Metadata
Metadata
Assignees
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.