mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 01:24:05 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
506 B
Text
11 lines
506 B
Text
error: this function has too many arguments (11/10)
|
|
--> $DIR/too_many_arguments.rs:4:1
|
|
|
|
|
LL | fn too_many(p1: u8, p2: u8, p3: u8, p4: u8, p5: u8, p6: u8, p7: u8, p8: u8, p9: u8, p10: u8, p11: u8) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|