"doesn't have a size known at compile-time" should underline the type, not the whole size_of function #61860
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Low-importance nitpick: If I do
I get an error like
Arguably I should get a smaller underline like this:
because it's the generic argument that doesn't have the size, not the function.
The text was updated successfully, but these errors were encountered: