add a lint check for unused pure function return values #4507
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.
Milestone
If the definition of
pure
is changed to allow mutating arguments, functions with&mut
arguments could just be ignored by this check. Alternatively, if there ends up being something likemut pure
as a lighter form of purity, those ones would be skipped.The text was updated successfully, but these errors were encountered: