-
Notifications
You must be signed in to change notification settings - Fork 13k
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
resolve: Update glob bindings in case of ambiguities (non-recursively) #113240
Conversation
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
@bors try |
⌛ Trying commit ef2ebf4 with merge 377afada703be70d3fdff9164a481570a3cba7fe... |
@@ -324,6 +324,8 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> { | |||
} else if !old_binding.vis.is_at_least(binding.vis, this.tcx) { | |||
// We are glob-importing the same item but with greater visibility. | |||
resolution.binding = Some(binding); | |||
} else if binding.is_ambiguity() { | |||
resolution.binding = Some(binding); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it solve #112713? I'm not sure.
☀️ Try build successful - checks-actions |
🚨 Error: missing desired crates: {"cloudflare-r2"} 🆘 If you have any trouble with Crater please ping |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
One independent subset of #112743 for a mini crater run.
cc @bvanjoi
TODO:
@craterbot check p=1 crates=https://crater-reports.s3.amazonaws.com/pr-112743/retry-regressed-list.txt