Skip to content

Ptp [will not merge, for gh actions only] #18

Ptp [will not merge, for gh actions only]

Ptp [will not merge, for gh actions only] #18

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Oct 2, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.66.0 (69f9c33d7 2022-12-12)
  • cargo 1.66.0 (d65d197ad 2022-11-15)
  • clippy 0.1.66 (69f9c33 2022-12-12)

Annotations

Check failure on line 103 in src/ethernet/eth.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `ethernet::eth::PtpFrameWithId: core::clone::Clone` is not satisfied

error[E0277]: the trait bound `ethernet::eth::PtpFrameWithId: core::clone::Clone` is not satisfied
   --> src/ethernet/eth.rs:103:10
    |
103 | #[derive(Copy)]
    |          ^^^^ the trait `core::clone::Clone` is not implemented for `ethernet::eth::PtpFrameWithId`
    |
note: required by a bound in `core::marker::Copy`
    = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider annotating `ethernet::eth::PtpFrameWithId` with `#[derive(Clone)]`
    |
104 | #[derive(Clone)]
    |