The following code:
#![feature(never_type)]
#![warn(clippy::empty_enums)]
#[derive(zerocopy::FromBytes)] pub struct Foo(());
triggers the clippy::empty_enums lint, which is part of the clippy::pedantic group. With the never type now nearing stabilization (rust-lang/rust#155499), it would be nice to have this sorted out reasonably soon.
The following code:
triggers the
clippy::empty_enumslint, which is part of theclippy::pedanticgroup. With the never type now nearing stabilization (rust-lang/rust#155499), it would be nice to have this sorted out reasonably soon.