type in expression position followed by ::
should suggest <...>::
#53776
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
When you write a macro that tries to call a method on the type...
...and try to call it...
...you get an error that doesn't make any sense:
The syntax that works is
<$t>::foo()
, but there's no way to discover this, so the error message should suggest it.cc @eddyb
The text was updated successfully, but these errors were encountered: