about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/four_forward_slashes.stderr
blob: 95c860b29fba52936611a1619279a529ff188663 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
  --> tests/ui/four_forward_slashes.rs:11:1
   |
LL | / //// whoops
LL | |
LL | | fn a() {}
   | |_^
   |
   = note: `-D clippy::four-forward-slashes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::four_forward_slashes)]`
help: make this a doc comment by removing one `/`
   |
LL - //// whoops
LL -
LL + /// whoops
   |

error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
  --> tests/ui/four_forward_slashes.rs:15:1
   |
LL | / //// whoops
LL | |
LL | | #[allow(dead_code)]
LL | | fn b() {}
   | |_^
   |
help: make this a doc comment by removing one `/`
   |
LL - //// whoops
LL -
LL + /// whoops
   |

error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
  --> tests/ui/four_forward_slashes.rs:20:1
   |
LL | / //// whoops
LL | | //// two borked comments!
LL | |
LL | | #[track_caller]
LL | | fn c() {}
   | |_^
   |
help: turn these into doc comments by removing one `/`
   |
LL + /// whoops
LL ~ /// two borked comments!
   |

error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
  --> tests/ui/four_forward_slashes.rs:29:1
   |
LL | / //// between attributes
LL | |
LL | | #[allow(dead_code)]
LL | | fn g() {}
   | |_^
   |
help: make this a doc comment by removing one `/`
   |
LL - //// between attributes
LL -
LL + /// between attributes
   |

error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
  --> tests/ui/four_forward_slashes.rs:34:1
   |
LL | /     //// not very start of contents
LL | |
LL | | fn h() {}
   | |_^
   |
help: make this a doc comment by removing one `/`
   |
LL -     //// not very start of contents
LL -
LL + /// not very start of contents
   |

error: aborting due to 5 previous errors