]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/unused/unused-doc-comments-for-macros.stderr
Auto merge of #106989 - clubby789:is-zero-num, r=scottmcm
[rust.git] / tests / ui / lint / 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    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
12 note: the lint level is defined here
13   --> $DIR/unused-doc-comments-for-macros.rs:1:9
14    |
15 LL | #![deny(unused_doc_comments)]
16    |         ^^^^^^^^^^^^^^^^^^^
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