-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
fix: modify the condition that resolve_imports
stops
#108729
Conversation
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
Thank you for helping me to change my mind about the problem. After checking the logs, I found that the problem with #97534 was that the resolve process from The current PR avoids this problem by changing the timing of Looking forward to your suggestions! |
I'm still not sure how a failing import resolution may affect the value of |
Apparently either If the change in this PR somehow fixes this specific ICE, then let's land it, because it's just a reasonable optimization even in isolation. |
To be precise, it is not the failure of resolve that affects the value of |
23b73d4
to
5ef535c
Compare
@rustbot ready |
8a21707
to
738338e
Compare
resolve_imports
stops
@rustbot ready It was an unforgettable PR, the first time I applied what I learned in class to a complex project, thanks to your tireless correction of my problems and your mentor-like help. @petrochenkov |
r=me after addressing remaining nits |
738338e
to
e6f4b93
Compare
e6f4b93
to
1775722
Compare
Thanks! |
…enkov fix: modify the condition that `resolve_imports` stops close rust-lang#97534
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#96391 (Windows: make `Command` prefer non-verbatim paths) - rust-lang#108164 (Drop all messages in bounded channel when destroying the last receiver) - rust-lang#108729 (fix: modify the condition that `resolve_imports` stops) - rust-lang#109336 (Constrain const vars to error if const types are mismatched) - rust-lang#109403 (Avoid ICE of attempt to add with overflow in emitter) - rust-lang#109415 (Refactor `handle_missing_lit`.) - rust-lang#109441 (Only implement Fn* traits for extern "Rust" safe function pointers and items) - rust-lang#109446 (Do not suggest bounds restrictions for synthesized RPITITs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
close #97534