Add #[must_use] to generated as_
method.
#13312
Labels
A-assists
C-feature
Category: feature request
S-actionable
Someone could pick this issue up and work on it right now
Generated
as_
methods for enum variants do not have#[must_use]
, causing clippy to display an error.The text was updated successfully, but these errors were encountered: