diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-29 08:46:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 08:46:16 +0900 |
| commit | a89c6be16ecdb9584d2aa921bd094d83ebd3c9c7 (patch) | |
| tree | bc36fa7c7e93f5429eb16a35e48aefd912d6f24f /library/std/src/sys/unix/stack_overflow.rs | |
| parent | af3c1544e2e2be7142a6f6adcdbcfaa17014b515 (diff) | |
| parent | f333b4795c53991e513ec06f25f496c9d8075c88 (diff) | |
| download | rust-a89c6be16ecdb9584d2aa921bd094d83ebd3c9c7.tar.gz rust-a89c6be16ecdb9584d2aa921bd094d83ebd3c9c7.zip | |
Rollup merge of #86678 - FabianWolff:issue-86667, r=jackh726
Fix garbled suggestion for missing lifetime specifier This PR fixes #86667. The suggestion code currently checks whether there is a generic parameter that is not a synthetic `impl Trait` parameter and, if so, suggests to insert a new lifetime `'a` before that generic parameter. However, it does not make sense to insert `'a` in front of an elided lifetime parameter, since these are synthetic as well, which leads to the garbled suggestion in #86667.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
