mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-25 04:23:22 +00:00
11 lines
236 B
Text
11 lines
236 B
Text
|
error: needless `fn main` in doctest
|
||
|
--> $DIR/needless_doc_main.rs:7:4
|
||
|
|
|
||
|
LL | /// fn main() {
|
||
|
| ^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::needless-doctest-main` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|