Make the documentation about #![allow(unused)]
more visible
#65464
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
A-lint
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I like to build functions as a series of parts, for example I might write the following skeleton, then plan to fill in the loop
If I run a cargo check on this, just to check for typos, I get:
I feel it should be possible to encapsulate a set of warnings which represent "unused/dead", and have a way of disabling them while developing. I realise this could be abused by some people, but I find it hard to spot the important issues between these unused/dead issues while developing.
The text was updated successfully, but these errors were encountered: