about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-08 00:57:08 +0000
committerbors <bors@rust-lang.org>2022-05-08 00:57:08 +0000
commit6d0378953eebdfafd7ff150fe2ab46bc6c645b3f (patch)
tree931de41cd4ece04668af917b34a326eb9cf7b976 /src/test/codegen/src-hash-algorithm
parentdd6ee7f2b4d476119f183641acdf955889dc0d5f (diff)
parent41c7e4d3822c1a4d3d93fe64cb2d70d13d0687b5 (diff)
downloadrust-6d0378953eebdfafd7ff150fe2ab46bc6c645b3f.tar.gz
rust-6d0378953eebdfafd7ff150fe2ab46bc6c645b3f.zip
Auto merge of #94206 - PrestonFrom:significant_drop, r=flip1995
Create clippy lint against unexpectedly late drop for temporaries in match scrutinee expressions

A new clippy lint for issue 93883 (https://github.com/rust-lang/rust/issues/93883). Relies on a new trait in `marker` (called `SignificantDrop` to enable linting), which is why this PR is for the rust-lang repo and not the clippy repo.

changelog: new lint [`significant_drop_in_scrutinee`]
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions