diff options
| author | bors <bors@rust-lang.org> | 2024-08-25 17:47:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-25 17:47:09 +0000 |
| commit | ebcd6bc7855bd6144d853c9c5e442f79a523c349 (patch) | |
| tree | 18705c3a46b2c5d63b0f6b0c764e5a155bf771ba /library/std/src/sys/pal/unix/stack_overflow.rs | |
| parent | 083e20a6dcf8369b104f7e2fa1c31596d82992ca (diff) | |
| parent | 3474df6a8e211457012132bbbf1add59436f1731 (diff) | |
| download | rust-ebcd6bc7855bd6144d853c9c5e442f79a523c349.tar.gz rust-ebcd6bc7855bd6144d853c9c5e442f79a523c349.zip | |
Auto merge of #13091 - Alexendoo:empty-line-after-rewrite, r=dswij
Rewrite `empty_line_after_doc_comments` and `empty_line_after_outer_attr`, move them from `nursery` to `suspicious`
changelog: [`empty_line_after_doc_comments`], [`empty_line_after_outer_attr`]: rewrite and move them from `nursery` to `suspicious`
They now lint when there's a comment between the last attr/doc comment and the empty line, to cover the case:
```rust
/// Docs for `old_code
// fn old_code() {}
fn new_code() {}
```
When these lints or `suspicious_doc_comments` trigger we no longer trigger any other doc lint as a broad fix for #12917, reverts some of #13002 as the empty line lints cover it
I ended up not doing https://github.com/rust-lang/rust-clippy/issues/12917#issuecomment-2161828859 as I don't think it's needed
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
