Removes dead code from the compiler
This commit is contained in:
parent
f167efad2f
commit
e7f11b6913
6 changed files with 2 additions and 25 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue