Skip to content

Add edge marking to the hardware 3D renderer #55

Add edge marking to the hardware 3D renderer

Add edge marking to the hardware 3D renderer #55

GitHub Actions / Run clippy (macos-latest, no default features) succeeded Mar 24, 2024 in 0s

Run clippy (macos-latest, no default features)

1 warning

Details

Results

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

Versions

  • rustc 1.79.0-nightly (2f090c30d 2024-03-23)
  • cargo 1.79.0-nightly (d438c80c4 2024-03-19)
  • clippy 0.1.79 (2f090c30 2024-03-23)

Annotations

Check warning on line 47 in render/wgpu-2d/src/common.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (macos-latest, no default features)

fields `master_brightness_control`, `color_effects_control`, `blend_coeffs`, and `brightness_coeff` are never read

warning: fields `master_brightness_control`, `color_effects_control`, `blend_coeffs`, and `brightness_coeff` are never read
  --> render/wgpu-2d/src/common.rs:47:9
   |
46 | pub struct ScanlineFlags {
   |            ------------- fields in this struct
47 |     pub master_brightness_control: u32,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
48 |     pub color_effects_control: u32,
   |         ^^^^^^^^^^^^^^^^^^^^^
49 |     pub blend_coeffs: u32,
   |         ^^^^^^^^^^^^
50 |     pub brightness_coeff: u32,
   |         ^^^^^^^^^^^^^^^^
   |
   = note: `ScanlineFlags` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default