libbpf-rs icon indicating copy to clipboard operation
libbpf-rs copied to clipboard

Use `#[expect(...)]` instead of `#[allow(...)]` in some places

Open danielocfb opened this issue 11 months ago • 6 comments

Use the #[expect(...)] attribute instead of #[allow(...)] in a bunch of places where we only have the attribute to silence a lint. The former makes sure that the silenced issue is actually flagged, or prints a warning otherwise.

danielocfb avatar Jan 21 '25 22:01 danielocfb

This requires Rust 1.81 and, hence, will have to wait until 1.86 is released, as per our MSRV policy.

danielocfb avatar Jan 21 '25 22:01 danielocfb

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

github-actions[bot] avatar Feb 21 '25 02:02 github-actions[bot]

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

github-actions[bot] avatar Mar 24 '25 02:03 github-actions[bot]

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

github-actions[bot] avatar Apr 24 '25 02:04 github-actions[bot]

Closing pull request as it is stale.

github-actions[bot] avatar Apr 29 '25 02:04 github-actions[bot]

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

github-actions[bot] avatar May 31 '25 02:05 github-actions[bot]