1
Fork 0

Improve warning message by saying that it "does nothing"

This commit is contained in:
Urgau 2023-04-14 21:49:05 +02:00
parent 457fa953a2
commit d23f8957ae
5 changed files with 43 additions and 43 deletions

View file

@ -521,14 +521,14 @@ lint_opaque_hidden_inferred_bound = opaque type `{$ty}` does not satisfy its ass
lint_opaque_hidden_inferred_bound_sugg = add this bound
lint_drop_ref = calls to `std::mem::drop` with a reference instead of an owned value
lint_drop_ref = calls to `std::mem::drop` with a reference instead of an owned value does nothing
.label = argument has type `{$arg_ty}`
lint_drop_copy = calls to `std::mem::drop` with a value that implements `Copy`.
lint_drop_copy = calls to `std::mem::drop` with a value that implements `Copy` does nothing
.label = argument has type `{$arg_ty}`
lint_forget_ref = calls to `std::mem::forget` with a reference instead of an owned value
lint_forget_ref = calls to `std::mem::forget` with a reference instead of an owned value does nothing
.label = argument has type `{$arg_ty}`
lint_forget_copy = calls to `std::mem::forget` with a value that implements `Copy`.
lint_forget_copy = calls to `std::mem::forget` with a value that implements `Copy` does nothing
.label = argument has type `{$arg_ty}`