mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
579 B
Text
16 lines
579 B
Text
error: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't
|
|
--> $DIR/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
|
|
|