summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
blob: f89146dad36e0a07b6573683bb8ba7e09ffed4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
error: this is an outer doc comment and does not apply to the parent module or crate
  --> $DIR/suspicious_doc_comments_unfixable.rs:4:1
   |
LL | / ///! a
LL | | ///! b
LL | | /// c
LL | | ///! d
   | |______^
   |
   = note: `-D clippy::suspicious-doc-comments` implied by `-D warnings`
help: use an inner doc comment to document the parent module or crate
   |
LL + //! a
LL + //! b
LL | /// c
LL + //! d
   |

error: this is an outer doc comment and does not apply to the parent module or crate
  --> $DIR/suspicious_doc_comments_unfixable.rs:10:1
   |
LL | / ///! a
LL | | ///! b
LL | | /// c
LL | | ///! d
   | |______^
   |
help: use an inner doc comment to document the parent module or crate
   |
LL + //! a
LL + //! b
LL | /// c
LL + //! d
   |

error: aborting due to 2 previous errors