Implment #[cfg] and #[cfg_attr] in where clauses
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user