Move #[must_use] attr on Capabilities to where it'll take effect.

This was causing warnings in nightly (1.56.0).
This commit is contained in:
Jim Blandy authored and Dzmitry Malyshau committed 2021-09-07 17:30:08 -04:00
1 parent 7138876625
commit d4bedafbda
1 file changed
+1 -1
+1 -1
View File
@@ -47,9 +47,9 @@ impl Default for ValidationFlags {
}
}
#[must_use]
bitflags::bitflags! {
/// Allowed IR capabilities.
#[must_use]
#[derive(Default)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "deserialize", derive(serde::Deserialize))]