Uplift clippy::drop_copy to rustc
This commit is contained in:
parent
3d1940d02e
commit
156f5563c7
5 changed files with 248 additions and 2 deletions
|
@ -671,6 +671,14 @@ pub struct DropRefDiag<'a> {
|
|||
pub note: Span,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_drop_copy)]
|
||||
pub struct DropCopyDiag<'a> {
|
||||
pub arg_ty: Ty<'a>,
|
||||
#[note]
|
||||
pub note: Span,
|
||||
}
|
||||
|
||||
// hidden_unicode_codepoints.rs
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_hidden_unicode_codepoints)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue