Merge pull request #196 from epilys/accept-version1-feature-bit #748
Annotations
17 warnings
|
hiding a lifetime that's elided elsewhere is confusing:
src/transport/pci/bus.rs#L188
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/transport/pci/bus.rs:188:25
|
188 | pub fn capabilities(&self, device_function: DeviceFunction) -> CapabilityIterator<C> {
| ^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
188 | pub fn capabilities(&self, device_function: DeviceFunction) -> CapabilityIterator<'_, C> {
| +++
|
|
this function has too many arguments (8/7):
src/device/sound.rs#L365
warning: this function has too many arguments (8/7)
--> src/device/sound.rs:365:5
|
365 | / pub fn pcm_set_params(
366 | | &mut self,
367 | | stream_id: u32,
368 | | buffer_bytes: u32,
... |
373 | | rate: PcmRate,
374 | | ) -> Result {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
|
this function has too many arguments (8/7):
src/device/gpu.rs#L269
warning: this function has too many arguments (8/7)
--> src/device/gpu.rs:269:5
|
269 | / fn update_cursor(
270 | | &mut self,
271 | | resource_id: u32,
272 | | scanout_id: u32,
... |
277 | | is_move: bool,
278 | | ) -> 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
|
|
build
`virtio-drivers` (lib) generated 1 warning
|
|
build:
src/transport/pci/bus.rs#L188
hiding a lifetime that's elided elsewhere is confusing
|
|
build
`virtio-drivers` (lib) generated 4 warnings (run `cargo fix --lib -p virtio-drivers` to apply 1 suggestion)
|
|
build:
src/transport/pci/bus.rs#L188
hiding a lifetime that's elided elsewhere is confusing
|
|
build:
src/queue.rs#L80
unused variable: `indirect`
|
|
build:
src/config.rs#L114
unused import: `write_config`
|
|
build:
src/config.rs#L100
unused macro definition: `write_config`
|
|
build
`virtio-drivers` (lib) generated 1 warning
|
|
build:
src/transport/pci/bus.rs#L188
hiding a lifetime that's elided elsewhere is confusing
|
|
build
`virtio-drivers` (lib) generated 4 warnings (run `cargo fix --lib -p virtio-drivers` to apply 1 suggestion)
|
|
build:
src/transport/pci/bus.rs#L188
hiding a lifetime that's elided elsewhere is confusing
|
|
build:
src/queue.rs#L80
unused variable: `indirect`
|
|
build:
src/config.rs#L114
unused import: `write_config`
|
|
build:
src/config.rs#L100
unused macro definition: `write_config`
|