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 | 4d1076c9f918297c97300a7ecf769dd7e6780be6 (patch) | |
| tree | e05ffd8d49aa8ac2c57c39a61a616a1422f0d505 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | e612ce9ce50182fb33a5186fbb39cdd5d4534f1f (diff) | |
| parent | d9e963fba027ee9f5670ce1953df0ebde0e51da4 (diff) | |
| download | rust-4d1076c9f918297c97300a7ecf769dd7e6780be6.tar.gz rust-4d1076c9f918297c97300a7ecf769dd7e6780be6.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 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
