-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
This code works:
use static_assertions::const_assert;
fn main() {
const_assert!(false != true);
}
until any other crate in my dependency graph enables static_assertions' "nightly" feature. Then it breaks my crate's formerly working code. This is not good behavior for a cargo feature. Code that works without a feature must also work with the feature, otherwise you end up with libraries that work in isolation but can't be combined together in one dependency graph.
nvzqz