Rollup merge of #129544 - mu001999-contrib:dead-code/clean, r=compiler-errors

Removes dead code from the compiler

Detected by #128637
This commit is contained in:
Matthias Krüger
2024-08-26 01:49:03 +02:00
committed by GitHub
6 changed files with 2 additions and 25 deletions

View File

@@ -371,13 +371,6 @@ pub struct FfiConstInvalidTarget {
pub attr_span: Span,
}
#[derive(LintDiagnostic)]
#[diag(passes_must_use_async)]
pub struct MustUseAsync {
#[label]
pub span: Span,
}
#[derive(LintDiagnostic)]
#[diag(passes_must_use_no_effect)]
pub struct MustUseNoEffect {