Skip to content

Make types needed to use VirtIOSocket public. #521

Make types needed to use VirtIOSocket public.

Make types needed to use VirtIOSocket public. #521

GitHub Actions / clippy succeeded Jun 13, 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.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check warning on line 491 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.5.0/src/public.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty doc comment

warning: empty doc comment
  --> src/device/net/mod.rs:21:1
   |
21 | / bitflags! {
22 | |     #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | |     struct Features: u64 {
24 | |         /// Device handles packets with partial checksum.
...  |
80 | |     }
81 | | }
   | |_^
   |
   = help: consider removing or filling it
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
   = note: `#[warn(clippy::empty_docs)]` on by default
   = note: this warning originates in the macro `$crate::__impl_public_bitflags_consts` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)

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