2023-07-13 00:39:19 +00:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
|
|
--> $DIR/four_forward_slashes.rs:12:1
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | fn a() {}
|
|
|
|
| |_
|
|
|
|
|
|
|
|
|
= note: `-D clippy::four-forward-slashes` implied by `-D warnings`
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// whoops
|
|
|
|
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
|
|
--> $DIR/four_forward_slashes.rs:15:1
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | #[allow(dead_code)]
|
2023-07-13 00:39:19 +00:00
|
|
|
LL | | fn b() {}
|
2023-07-12 08:19:22 +00:00
|
|
|
| |_
|
|
|
|
|
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// whoops
|
|
|
|
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
|
|
--> $DIR/four_forward_slashes.rs:19:1
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
LL | / //// whoops
|
|
|
|
LL | | //// two borked comments!
|
2023-07-13 00:39:19 +00:00
|
|
|
LL | | #[track_caller]
|
|
|
|
LL | | fn c() {}
|
2023-07-12 08:19:22 +00:00
|
|
|
| |_
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
help: turn these into doc comments by removing one `/`
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
LL + /// whoops
|
2023-07-13 00:39:19 +00:00
|
|
|
LL ~ /// two borked comments!
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
|
|
--> $DIR/four_forward_slashes.rs:27:1
|
2023-07-12 08:19:22 +00:00
|
|
|
|
|
|
|
|
LL | / //// between attributes
|
|
|
|
LL | | #[allow(dead_code)]
|
2023-07-13 00:39:19 +00:00
|
|
|
LL | | fn g() {}
|
2023-07-12 08:19:22 +00:00
|
|
|
| |_
|
|
|
|
|
|
|
|
|
help: make this a doc comment by removing one `/`
|
|
|
|
|
|
|
|
|
LL + /// between attributes
|
|
|
|
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
|
|
--> $DIR/four_forward_slashes.rs:31:1
|
2023-07-12 08:19:22 +00: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
|
|
|
|
|
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2023-07-12 08:19:22 +00:00
|
|
|
|