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
Rust 1.79.0 added zero_repeat_side_effects which triggers an error with:
--> deps/verifier/src/sgx/types.rs:95:17
|
95 | #[derive(Debug, Pread)]
| ^^^^^ help: consider using: `Pread; let Pread: [u8; 0] = [];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_repeat_side_effects
= note: `#[warn(clippy::zero_repeat_side_effects)]` on by default
which seems to be triggered by pub signature_data: [u8; 0], I'm unsure what the right fix should be (it feels to me the Pread macro needs updating since adding #[warn(clippy::zero_repeat_side_effects)] won't help either) so I'll just submit this issue as a reminder.
The text was updated successfully, but these errors were encountered:
Rust 1.79.0 added
zero_repeat_side_effects
which triggers an error with:which seems to be triggered by
pub signature_data: [u8; 0],
I'm unsure what the right fix should be (it feels to me thePread
macro needs updating since adding#[warn(clippy::zero_repeat_side_effects)]
won't help either) so I'll just submit this issue as a reminder.The text was updated successfully, but these errors were encountered: