Implment #[cfg]
and #[cfg_attr]
in where
clauses
This commit is contained in:
parent
30508faeb3
commit
42f51d4fd4
38 changed files with 3296 additions and 88 deletions
|
@ -2385,6 +2385,7 @@ impl<'a> State<'a> {
|
|||
}
|
||||
|
||||
fn print_where_predicate(&mut self, predicate: &hir::WherePredicate<'_>) {
|
||||
self.print_attrs_as_outer(self.attrs(predicate.hir_id));
|
||||
match *predicate.kind {
|
||||
hir::WherePredicateKind::BoundPredicate(hir::WhereBoundPredicate {
|
||||
bound_generic_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue