Rust-analyzer + rustc repo: build failures in the standard library are not shown in the editor any more · Issue #128726 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
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