diff options
| author | David Tolnay <dtolnay@gmail.com> | 2020-04-21 21:09:24 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2020-04-21 21:16:50 -0700 |
| commit | 3a8097f2b44f8221bfbdbf47b66558eca44953fd (patch) | |
| tree | be6715923408f4e20326f3a7795b4723ccc4437c /src/test | |
| parent | 70f4f320b02cfd511c78389a6db1628285277410 (diff) | |
| download | rust-3a8097f2b44f8221bfbdbf47b66558eca44953fd.tar.gz rust-3a8097f2b44f8221bfbdbf47b66558eca44953fd.zip | |
Clarify unused_doc_comments note on macro invocations
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/useless-comment.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/useless-comment.stderr b/src/test/ui/useless-comment.stderr index 92817321a88..5a0af8db7c5 100644 --- a/src/test/ui/useless-comment.stderr +++ b/src/test/ui/useless-comment.stderr @@ -2,7 +2,7 @@ error: unused doc comment --> $DIR/useless-comment.rs:9:1 | LL | /// foo - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macros + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations | note: the lint level is defined here --> $DIR/useless-comment.rs:3:9 @@ -15,7 +15,7 @@ error: unused doc comment --> $DIR/useless-comment.rs:32:5 | LL | /// bar - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macros + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations | = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion |
