Skip to content

clippy

clippy #400

GitHub Actions / clippy failed Nov 4, 2024 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.84.0-nightly (b8c8287a2 2024-11-03)
  • cargo 1.84.0-nightly (031049782 2024-11-01)
  • clippy 0.1.84 (b8c8287a22 2024-11-03)

Annotations

Check failure on line 482 in hook/src/hooks/debug_drawing.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (10/7)

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

Check failure on line 451 in hook/src/hooks/debug_drawing.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (10/7)

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

Check failure on line 420 in hook/src/hooks/debug_drawing.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (10/7)

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)]`