This error indicates that a #[non_exhaustive] attribute was incorrectly placed on something other than a struct or enum.
#[non_exhaustive]
Erroneous code example:
#[non_exhaustive] trait Foo { }
Back to list of error codes