allow unordered const/ty params if any cg feature is active
This commit is contained in:
parent
0c28e028b6
commit
4747cbb3bb
4 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue