Uplift clippy::forget_copy to rustc
This commit is contained in:
parent
cf6d2272c5
commit
971b9b23b5
5 changed files with 207 additions and 2 deletions
|
@ -687,6 +687,14 @@ pub struct ForgetRefDiag<'a> {
|
|||
pub note: Span,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_forget_copy)]
|
||||
pub struct ForgetCopyDiag<'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