Skip to content

Commit

Permalink
Allow dead_code for unused struct filed that are now a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
krtab committed Jan 5, 2024
1 parent fb75654 commit 73be48a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/miri/src/shims/unix/linux/fd/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ pub struct Epoll {
/// <https://man7.org/linux/man-pages/man2/epoll_ctl.2.html>
#[derive(Clone, Debug)]
pub struct EpollEvent {
#[allow(dead_code)]
pub events: u32,
/// `Scalar<Provenance>` is used to represent the
/// `epoll_data` type union.
#[allow(dead_code)]
pub data: Scalar<Provenance>,
}

Expand Down

0 comments on commit 73be48a

Please sign in to comment.