You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fuchsia reports that, when updating to a more recent version of the Rust toolchain, code generated by zerocopy-derive causes the compiler to emit warnings:
warning: type parameter goes unused in function definition
--> ../../src/sys/pkg/lib/far/rust/src/lib.rs:80:54
|
80 | #[derive(PartialEq, Eq, Debug, Clone, Copy, Default, zerocopy::AsBytes, zerocopy::FromBytes)]
| ^^^^^^^^^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `-D clippy::extra-unused-type-parameters` implied by `-D warnings`
= note: this warning originates in the derive macro `zerocopy::AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: type parameter goes unused in function definition
--> ../../src/sys/pkg/lib/far/rust/src/lib.rs:80:73
|
80 | #[derive(PartialEq, Eq, Debug, Clone, Copy, Default, zerocopy::AsBytes, zerocopy::FromBytes)]
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: this warning originates in the derive macro `zerocopy::FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
Fuchsia reports that, when updating to a more recent version of the Rust toolchain, code generated by zerocopy-derive causes the compiler to emit warnings:
The text was updated successfully, but these errors were encountered: