-
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
ICE: trimmed_def_paths
called, diagnostics were expected but none were emitted
#135289
Comments
What are the steps to reproduce? cargo check on quinn? |
CI ran |
Thanks you saved me a click 👍.
This is still happening on nightly with Bisection points at #132658 but it's unclear whether that's actually correct yet -- I'll cc the author @estebank for due diligence -- but such issues are sometimes easy so I'll see if I have the time to look into it soon. |
Some context for esteban:
|
I think that we can side-step the issue quickly by removing the call to |
There’s no rush, right? |
Creating a "trimmed DefID path" when no error is being emitted is an ICE (on purpose). If we create a trimmed path for a lint that is then silenced before being emitted causes a known ICE. This side-steps the issue by always using `with_no_trimmed_path!`. This was verified to fix https://github.com/quinn-rs/quinn/, but couldn't write a repro case for the test suite. Fix rust-lang#135289.
I couldn't build a minimal repro to add to the test suite, but #135310 solves the ICE. |
beta triggered an ICE in Quinn's CI today:
https://github.com/quinn-rs/quinn/actions/runs/12691355015/job/35374229601?pr=2130
Maybe similar/related to:
Maybe a fix that could be backported?
The text was updated successfully, but these errors were encountered: