1
Fork 0

Uplift clippy::forget_copy to rustc

This commit is contained in:
Urgau 2023-03-28 18:47:37 +02:00
parent cf6d2272c5
commit 971b9b23b5
5 changed files with 207 additions and 2 deletions

View file

@ -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}`