You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling code that matches against core::sync::atomic::Ordering requires the future_atomic_orderings feature to be enabled. But, when I enable that feature, I get
This is a bug with the feature collector; thanks for reporting!
Not that in this case specifically, it shouldn't be a problem anyway. You can match over all variants of core::sync::atomic::Orderingexcept for Ordering::__Nonexhaustive. This is specifically hidden so that you don't try to exhaustively match the enum. You should be using a catch-all _ arm instead.
Really, Ordering should be using #[non_exhaustive] instead.
Yeah, that's how I'm sidestepping this bug for now, but actually, the code in libcore does match against the __Nonexhaustive case, which I was largely copying.
…omatsakis
Visit all attributes for feature collection
Previously feature attributes were just collected on item-like "things" as well as exported macros and crate attributes. This ignored some places feature attributes could be specified, such as on enum variants.
Fixes#53391.
Compiling code that matches against
core::sync::atomic::Ordering
requires thefuture_atomic_orderings
feature to be enabled. But, when I enable that feature, I getThe text was updated successfully, but these errors were encountered: