Suggest self
instead of this
if it makes sense
#54019
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
C++ refugees coming to rust might accidentally use/write
this.foo
whereself.foo
was intended. I'm sure a hint to useself
instead would be appreciated.The text was updated successfully, but these errors were encountered: