about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/traits.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-22 12:18:38 +0200
committerGitHub <noreply@github.com>2020-04-22 12:18:38 +0200
commit91ef66374bf403e1f0c3fe9c0f9db9941898c045 (patch)
tree3efac0cb13e9236db63992d5947cfe3c83a248e3 /src/test/rustdoc-ui/coverage/traits.rs
parente7c5334a887f9218a7c2397910b1c27737760c79 (diff)
parent3a8097f2b44f8221bfbdbf47b66558eca44953fd (diff)
downloadrust-91ef66374bf403e1f0c3fe9c0f9db9941898c045.tar.gz
rust-91ef66374bf403e1f0c3fe9c0f9db9941898c045.zip
Rollup merge of #71412 - dtolnay:uselessdoc, r=Manishearth
Clarify unused_doc_comments note on macro invocations

The previous error message used to say:

<pre>
/// doc
^^^^^^^ rustdoc does not generate documentation for <b>macros</b>
</pre>

Obviously we do generate documentation for macros, such as https://docs.rs/bitflags/1.2.1/bitflags/macro.bitflags.html. It's only macro invocations that don't get their own docs. This PR updates the message to say "rustdoc does not generate documentation for <b>macro invocations</b>".

I observe that prior to #69084 this used to say "rustdoc does not generate documentation for **macro expansions**", as implemented originally in #57882. I don't have a preference between those but I made the commit before looking up the history.

r? @Manishearth
attn: @yaahc @euclio
Diffstat (limited to 'src/test/rustdoc-ui/coverage/traits.rs')
0 files changed, 0 insertions, 0 deletions