]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/needless_doc_main.stderr
Auto merge of #76019 - pietroalbini:rollup-1tkgdnd, r=pietroalbini
[rust.git] / src / tools / clippy / tests / ui / needless_doc_main.stderr
1 error: needless `fn main` in doctest
2   --> $DIR/needless_doc_main.rs:7:4
3    |
4 LL | /// fn main() {
5    |    ^^^^^^^^^^^^
6    |
7    = note: `-D clippy::needless-doctest-main` implied by `-D warnings`
8
9 error: needless `fn main` in doctest
10   --> $DIR/needless_doc_main.rs:15:4
11    |
12 LL | /// fn main() {
13    |    ^^^^^^^^^^^^
14
15 error: needless `fn main` in doctest
16   --> $DIR/needless_doc_main.rs:23:4
17    |
18 LL | /// fn main() {
19    |    ^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22