1
Fork 0

allow unordered const/ty params if any cg feature is active

This commit is contained in:
lcnr 2021-08-26 21:12:02 +02:00
parent 0c28e028b6
commit 4747cbb3bb
4 changed files with 4 additions and 6 deletions

View file

@ -71,7 +71,7 @@ macro_rules! declare_features {
}
pub fn unordered_const_ty_params(&self) -> bool {
self.const_generics_defaults
self.const_generics_defaults || self.generic_const_exprs || self.const_param_types
}
/// Some features are known to be incomplete and using them is likely to have