Lint pass to flag unneeded qualified names #2551
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I noticed that in
ty
, there was some code that referred toast::m_mutbl
even thoughty
importssyntax::ast::*
, so it could just bem_mutbl
. There should be a lint pass to point out these cases so as to reduce the amount of random noise in code.The text was updated successfully, but these errors were encountered: