Confusing "this function doesn't have a self
parameter" hint when using macro
#66898
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi,
... returns:
(playground)
Message says
this function doesn't have a 'self' parameter
, even though it does have aself
parameter, which is kinda confusing.This happens only on beta and nightly, since current stable doesn't provide that hint at all.
Thanks,
Patryk.
The text was updated successfully, but these errors were encountered: