~/dev/rust/mp4-rust$ cargo clippy
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:12:30
|
12 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= note: #[warn(clippy::derive_partial_eq_without_eq)]
on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:33:30
|
33 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:54:30
|
54 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:89:19
|
89 | #[derive(Default, PartialEq, Clone, Copy, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:168:30
|
168 | #[derive(Debug, Clone, Copy, PartialEq)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:226:30
|
226 | #[derive(Debug, Clone, Copy, PartialEq)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:280:17
|
280 | #[derive(Debug, PartialEq, Clone, Copy)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:319:17
|
319 | #[derive(Debug, PartialEq, Clone, Copy)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:466:17
|
466 | #[derive(Debug, PartialEq, Clone, Copy)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:525:17
|
525 | #[derive(Debug, PartialEq, Clone, Copy)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:567:17
|
567 | #[derive(Debug, PartialEq, Clone, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:575:17
|
575 | #[derive(Debug, PartialEq, Clone, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:581:17
|
581 | #[derive(Debug, PartialEq, Clone, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/types.rs:606:17
|
606 | #[derive(Debug, PartialEq, Clone, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/avc1.rs:265:24
|
265 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/co64.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/ctts.rs:26:24
|
26 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/data.rs:10:24
|
10 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/dinf.rs:199:24
|
199 | #[derive(Debug, Clone, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/elst.rs:16:24
|
16 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/emsg.rs:9:24
|
9 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/hev1.rs:156:24
|
156 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mdhd.rs:8:24
|
8 | #[derive(Debug, Clone, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mehd.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Serialize, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mfhd.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mp4a.rs:461:24
|
461 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mp4a.rs:553:24
|
553 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/stco.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/stsc.rs:26:24
|
26 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/stss.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/stsz.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/stts.rs:26:24
|
26 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/tfhd.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Serialize, Default)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/tkhd.rs:54:24
|
54 | #[derive(Debug, Clone, PartialEq, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/trex.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/trun.rs:7:24
|
7 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/tx3g.rs:18:24
|
18 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/vmhd.rs:15:24
|
15 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/vpcc.rs:5:24
|
5 | #[derive(Debug, Clone, PartialEq, Default, Serialize)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
warning: you are deriving PartialEq
and can implement Eq
--> src/mp4box/mod.rs:118:31
|
118 | #[derive(Clone, Copy, PartialEq)]
| ^^^^^^^^^ help: consider deriving Eq
as well: PartialEq, Eq
...
144 | / boxtype! {
145 | | FtypBox => 0x66747970,
146 | | MvhdBox => 0x6d766864,
147 | | MfhdBox => 0x6d666864,
... |
197 | | DescBox => 0x64657363
198 | | }
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
= note: this warning originates in the macro boxtype
(in Nightly builds, run with -Z macro-backtrace for more info)
warning: mp4
(lib) generated 40 warnings
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
~/dev/rust/mp4-rust$ rustc --version
rustc 1.63.0 (4b91a6ea7 2022-08-08)