1
Fork 0

loosen ordering restricts for const_generics_defaults

This commit is contained in:
lcnr 2021-04-18 14:31:00 +02:00
parent 259a368e9e
commit 7cb1dcd488
31 changed files with 145 additions and 81 deletions

View file

@ -63,6 +63,10 @@ macro_rules! declare_features {
_ => panic!("`{}` was not listed in `declare_features`", feature),
}
}
pub fn unordered_const_ty_params(&self) -> bool {
self.const_generics || self.const_generics_defaults
}
}
};
}