clippy #349
Annotations
4 errors and 2 warnings
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L471
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:471:1
|
471 | / unsafe fn draw_cone(
472 | | batcher: NonNull<ULineBatchComponent>,
473 | | origin: FVector,
474 | | direction: FVector,
... |
481 | | thickness: f32,
482 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L440
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:440:1
|
440 | / fn add_circle(
441 | | lines: &mut Vec<FBatchedLine>,
442 | | base: &Vector3<f32>,
443 | | x: &Vector3<f32>,
... |
450 | | thickness: f32,
451 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L409
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:409:1
|
409 | / fn add_half_circle(
410 | | lines: &mut Vec<FBatchedLine>,
411 | | base: &Vector3<f32>,
412 | | x: &Vector3<f32>,
... |
419 | | thickness: f32,
420 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
|
check
Clippy had exited with the 101 exit code
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|