about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-05 16:13:38 +0000
committerbors <bors@rust-lang.org>2024-01-05 16:13:38 +0000
commit394f63fe94bb3d991f64644d247a2f7e334d7e4f (patch)
treeecb5b5fb235e574ed57fa2a47a65ad209de98e73 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent9ee4d9ea9a6179eef7c0ad2dd8b55270b3b5d00a (diff)
parentfd9d330839c5ae8ddfa3438b0db422515b06ad36 (diff)
downloadrust-394f63fe94bb3d991f64644d247a2f7e334d7e4f.tar.gz
rust-394f63fe94bb3d991f64644d247a2f7e334d7e4f.zip
Auto merge of #10844 - Centri3:let_unit_value, r=Alexendoo
Don't lint `let_unit_value` when `()` is explicit

since these are explicitly written (and not the result of a function call or anything else), they should be allowed, as they are both useful in some cases described in #9048

Fixes #9048

changelog: [`let_unit_value`]: Don't lint when `()` is explicit
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions