-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save-analysis: inferred crates are not included #48742
Comments
cc @petrochenkov who implemented the 'implicit extern crate' support in #47156 I can't see where the info about |
ping @petrochenkov @rust-lang/compiler - anyone got advice on how to address this issue? |
master...sinkuu:save_analysis_implicit_extern |
@sinkuu |
…henkov Fix save-analysis generation with extern_in_paths/extern_absolute_paths Fixes #48742.
save-analysis includes crates declared with
extern crate
or in the implicit prelude, but does not include those inferred from imports due to the newextern crate
elision feature. I assume becauseextern_crate
on the tcx does not include info for those crates (see https://github.com/rust-lang/rust/blob/master/src/librustc_save_analysis/lib.rs#L113).This is the root cause for part of rust-lang/rls#729
The text was updated successfully, but these errors were encountered: