2023-07-31 16:53:53 -05:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/four_forward_slashes.rs:12:1
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | fn a() {}
|
|
|
|
| |_
|
|
|
|
|
|
|
|
|
= note: `-D clippy::four-forward-slashes` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::four_forward_slashes)]`
|
2023-07-31 16:53:53 -05:00
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// whoops
|
|
|
|
|
|
|
|
|
|
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/four_forward_slashes.rs:15:1
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | #[allow(dead_code)]
|
|
|
|
LL | | fn b() {}
|
|
|
|
| |_
|
|
|
|
|
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// whoops
|
|
|
|
|
|
|
|
|
|
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/four_forward_slashes.rs:19:1
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | //// two borked comments!
|
|
|
|
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
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/four_forward_slashes.rs:27:1
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
|
LL | / //// between attributes
|
|
|
|
LL | | #[allow(dead_code)]
|
|
|
|
LL | | fn g() {}
|
|
|
|
| |_
|
|
|
|
|
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// between attributes
|
|
|
|
|
|
|
|
|
|
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/four_forward_slashes.rs:31:1
|
2023-07-31 16:53:53 -05:00
|
|
|
|
|
|
|
|
LL | / //// not very start of contents
|
|
|
|
LL | | fn h() {}
|
|
|
|
| |_
|
|
|
|
|
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// not very start of contents
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|