diff options
| author | bors <bors@rust-lang.org> | 2022-05-08 00:57:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-08 00:57:08 +0000 |
| commit | 6d0378953eebdfafd7ff150fe2ab46bc6c645b3f (patch) | |
| tree | 931de41cd4ece04668af917b34a326eb9cf7b976 /src/test/codegen | |
| parent | dd6ee7f2b4d476119f183641acdf955889dc0d5f (diff) | |
| parent | 41c7e4d3822c1a4d3d93fe64cb2d70d13d0687b5 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
