Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use thiserror for error types. #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Use thiserror for error types.

2fa73a2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Use thiserror for error types. #165

Use thiserror for error types.
2fa73a2
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 6, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 380 in src/device/sound.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/device/sound.rs:371:5
    |
371 | /     pub fn pcm_set_params(
372 | |         &mut self,
373 | |         stream_id: u32,
374 | |         buffer_bytes: u32,
...   |
379 | |         rate: PcmRate,
380 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check warning on line 267 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/device/gpu.rs:258:5
    |
258 | /     fn update_cursor(
259 | |         &mut self,
260 | |         resource_id: u32,
261 | |         scanout_id: u32,
...   |
266 | |         is_move: bool,
267 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default