Skip to content

clippy

clippy #339

GitHub Actions / clippy failed May 20, 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.80.0-nightly (d84b90375 2024-05-19)
  • cargo 1.80.0-nightly (0de7f2ec6 2024-05-17)
  • clippy 0.1.80 (d84b903 2024-05-19)

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