loosen ordering restricts for const_generics_defaults
This commit is contained in:
parent
259a368e9e
commit
7cb1dcd488
31 changed files with 145 additions and 81 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue