Parse inner attributes on inline const block
This commit is contained in:
parent
52b34550ac
commit
f427698c03
4 changed files with 26 additions and 6 deletions
|
@ -960,7 +960,7 @@ impl<'a> State<'a> {
|
|||
self.word_space("=");
|
||||
match term {
|
||||
Term::Ty(ty) => self.print_type(ty),
|
||||
Term::Const(c) => self.print_expr_anon_const(c),
|
||||
Term::Const(c) => self.print_expr_anon_const(c, &[]),
|
||||
}
|
||||
}
|
||||
ast::AssocConstraintKind::Bound { bounds } => self.print_type_bounds(":", &*bounds),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue