about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
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
commit4d1076c9f918297c97300a7ecf769dd7e6780be6 (patch)
treee05ffd8d49aa8ac2c57c39a61a616a1422f0d505 /library/std/src/sys/unix/stack_overflow.rs
parente612ce9ce50182fb33a5186fbb39cdd5d4534f1f (diff)
parentd9e963fba027ee9f5670ce1953df0ebde0e51da4 (diff)
downloadrust-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