-
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
PlaceBuilder
ICE, Part 2
#88118
Comments
@arora-aman Let me know how I can provide assistance on this one |
@rustbot label +A-closures +A-edition-2021 +T-compiler +I-ICE |
@rustbot claim |
@rustbot release-assignment |
@rustbot claim |
Reopening -- I was able to trigger this on rustc_errors:
Going to try to minify... |
Triggers with the following (rustc --edition=2021), both on beta and nightly. I think this requires if let guards, though. #![feature(if_let_guard)]
fn print_error_count(registry: &Registry) {
|x: &Registry| {
match &x {
Registry if let _ = registry.try_find_description() => { }
_ => {}
}
};
}
struct Registry;
impl Registry {
pub fn try_find_description(self) {
unimplemented!()
}
}
fn main() {} |
We ICE after attempting to resolve the cc: @arora-aman |
#88039 fixed #87987 but this issue still fails:
Found trying to migrate
seed 0.8.0
.Let me know if you need any more information.
Originally posted by @ehuss in #87987 (comment)
The text was updated successfully, but these errors were encountered: