-
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
E0121 overlapping spans / bad placeholder #118048
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
matthiaskrgr
added
A-diagnostics
Area: Messages for errors, warnings, and lints
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
C-bug
Category: This is a bug.
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
labels
Nov 18, 2023
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Nov 18, 2023
Backtrace
|
Probably just worth ignoring placeholder suggestions if they are coming from a different span ctxt than the fn -- either that, or logic to detect reuses of the same Anyways, I think this is minimal:
But I can't test it since I'm on my laptop. |
Yeah can confirm this also triggers the debug assertion ^ |
saethlin
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Nov 18, 2023
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 9, 2023
Rollup merge of rust-lang#118057 - bvanjoi:fix-118048, r=cjgillot dedup for duplicate suggestions Fixes rust-lang#118048 An easy fix.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Minimal
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: