about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-09 08:17:48 +0000
committerbors <bors@rust-lang.org>2019-03-09 08:17:48 +0000
commite1b8898cfb0392f534cc25808a7f6caad36ebbb7 (patch)
tree52b15becdc2531921468fdabbe243479e61a523e /src/libstd/sys/unix/stack_overflow.rs
parentc9f8304351ad4223e4f618e9a329b2b94776b25e (diff)
parentdaf80f721b0c9f3a57f13dd9d8934e851ad17dd5 (diff)
downloadrust-e1b8898cfb0392f534cc25808a7f6caad36ebbb7.tar.gz
rust-e1b8898cfb0392f534cc25808a7f6caad36ebbb7.zip
Auto merge of #57882 - euclio:unused-doc-attributes, r=estebank
overhaul unused doc comments lint

This PR contains a number of improvements to the `unused_doc_comments` lint.

- Extends the span to cover the entire comment when using sugared doc comments.
- Triggers the lint for all unused doc comments on a node, instead of just the first one.
- Triggers the lint on macro expansions, and provides a help note explaining that doc comments must be expanded by the macro.
- Adds a label pointing at the node that cannot be documented.

Furthermore, this PR fixes any instances in rustc where a macro expansion was erroneously documented.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions