]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unused/unused-doc-comments-for-macros.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / unused / unused-doc-comments-for-macros.stderr
1 error: unused doc comment
2   --> $DIR/unused-doc-comments-for-macros.rs:7:5
3    |
4 LL | /     /// line1
5 LL | |     /// line2
6 LL | |     /// line3
7    | |_____--------^
8    |       |
9    |       rustdoc does not generate documentation for macro invocations
10    |
11 note: the lint level is defined here
12   --> $DIR/unused-doc-comments-for-macros.rs:1:9
13    |
14 LL | #![deny(unused_doc_comments)]
15    |         ^^^^^^^^^^^^^^^^^^^
16    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
17
18 error: unused doc comment
19   --> $DIR/unused-doc-comments-for-macros.rs:13:5
20    |
21 LL | /     /// line1
22 LL | |     /// line2
23 LL | |     /// line3
24    | |_____--------^
25    |       |
26    |       rustdoc does not generate documentation for macro invocations
27    |
28    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
29
30 error: aborting due to 2 previous errors
31