mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 10:33:27 +00:00
16 lines
583 B
Text
16 lines
583 B
Text
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
--> tests/ui/four_forward_slashes_first_line.rs:1:1
|
|
|
|
|
LL | / //// borked doc comment on the first line. doesn't combust!
|
|
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 + /// borked doc comment on the first line. doesn't combust!
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|