"help: consider removing" yields an empty suggestion #94192
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hii! 👋
Given the following code:
(playground link)
The current output is (there are more messages, but focusing on the only problematic one):
The suggestion works correctly when the bound is represented as
fn foo<T: ?Sized>
:Checked on current stable, beta & nightly.
The text was updated successfully, but these errors were encountered: