Uplift clippy::forget_copy to rustc
This commit is contained in:
parent
cf6d2272c5
commit
971b9b23b5
5 changed files with 207 additions and 2 deletions
|
@ -529,3 +529,6 @@ lint_drop_copy = calls to `std::mem::drop` with a value that implements `Copy`.
|
|||
|
||||
lint_forget_ref = calls to `std::mem::forget` with a reference instead of an owned value
|
||||
.note = argument has type `{$arg_ty}`
|
||||
|
||||
lint_forget_copy = calls to `std::mem::forget` with a value that implements `Copy`.
|
||||
.note = argument has type `{$arg_ty}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue