about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-28 15:36:38 +0000
committerbors <bors@rust-lang.org>2021-08-28 15:36:38 +0000
commit42a2a53ec13b0e6e915acd09a2a9a963e5fa3b92 (patch)
treea83f42849691e128fc2c728dad5001ddcfdd74b9 /library/std/src/sys/unix/process/process_unix.rs
parent84b018341284798fa47f8171f4eb04f18f45cf23 (diff)
parentc4dba5a64efe340a779d8a1ee8c332140c51180e (diff)
downloadrust-42a2a53ec13b0e6e915acd09a2a9a963e5fa3b92.tar.gz
rust-42a2a53ec13b0e6e915acd09a2a9a963e5fa3b92.zip
Auto merge of #88390 - sexxi-goose:missing-case, r=nikomatsakis
Add missing const edge case

We don't "process" const so we need to check for additional cases when the PatKind is a Path. We need to make sure that if there is only one variant that there is no field. If there is one or more field, we will want to borrow the match scrutinee

Closes https://github.com/rust-lang/rust/issues/88331
r? `@nikomatsakis`
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions