diff options
| author | bors <bors@rust-lang.org> | 2022-04-11 08:31:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-11 08:31:37 +0000 |
| commit | d00e77078c0bd003323af67b4deb27627226d2e6 (patch) | |
| tree | 4cb18517b3ee882a750408f1ec44c4ebfeb7813b /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 48a9e104dfafdec3a5d00d365229d6369939f433 (diff) | |
| parent | dfe13dbbcf6ccd503a82deb8f5a808713d0399c6 (diff) | |
| download | rust-d00e77078c0bd003323af67b4deb27627226d2e6.tar.gz rust-d00e77078c0bd003323af67b4deb27627226d2e6.zip | |
Auto merge of #95758 - compiler-errors:issue-54771, r=estebank
Only suggest removing semicolon when expression is compatible with `impl Trait` https://github.com/rust-lang/rust/issues/54771#issuecomment-476423690 > It still needs checking that the last statement's expr can actually conform to the trait, but the naïve behavior is there. Only suggest removing a semicolon when the type behind the semicolon actually implements the trait in an RPIT `-> impl Trait`. Also upgrade the label that suggests removing the semicolon to a suggestion (should it be verbose?). cc #54771
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
