debug ice: overlapping suggestions when needless_lifetimes
removes back-to-back lifetimes
#11197
Labels
C-bug
Category: Clippy is not doing the correct thing
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Summary
The code triggers a rust debug ice if clippy/rustc is built with debug assertions, maybe
Reproducer
I tried this code:
I expected to see this happen:
Instead, this happened:
maybe the spans are so close togeher that they overlap? 🤔
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: