Remove let_underscore_must_use

The `let_underscore_must_use` lint was really only added because clippy
included it, but it doesn't actually seem very useful.
This commit is contained in:
Aaron Kofsky 2022-06-05 00:05:50 -04:00
parent 11663b1d78
commit b5b5b5471b
4 changed files with 3 additions and 155 deletions

View file

@ -317,12 +317,7 @@ fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) {
REDUNDANT_SEMICOLONS
);
add_lint_group!(
"let_underscore",
LET_UNDERSCORE_DROP,
LET_UNDERSCORE_LOCK,
LET_UNDERSCORE_MUST_USE
);
add_lint_group!("let_underscore", LET_UNDERSCORE_DROP, LET_UNDERSCORE_LOCK);
add_lint_group!(
"rust_2018_idioms",