-
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
ice: self.err_count()
changed but an error was not emitted
#119652
Comments
(I even predicted that querying the object safety from this part of the code might cause a cycle error 🙈🙈🙈) |
@fmease that wasn't quite the problem, it was because we'd correctly realize that the trait wasn't object safe, but the |
Actually this doesn't ICE for me anymore on the playground (nightly, Rust 2021). Is that true? Don't have access to my machine rn, I'm on mobile ^^'. |
Avoid ICEs in trait names without `dyn` Check diagnostic is error before downgrading. Fix rust-lang#119633. Account for traits using self-trait by name without `dyn`. Fix rust-lang#119652.
Rollup merge of rust-lang#119752 - estebank:ice-ice, r=fmease Avoid ICEs in trait names without `dyn` Check diagnostic is error before downgrading. Fix rust-lang#119633. Account for traits using self-trait by name without `dyn`. Fix rust-lang#119652.
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc --edition=2021
Program output
The text was updated successfully, but these errors were encountered: