Use ConstArg
for assoc item constraints
This commit is contained in:
parent
e7c85cb1e0
commit
8818708a31
9 changed files with 31 additions and 22 deletions
|
@ -1726,7 +1726,7 @@ impl<'a> State<'a> {
|
|||
self.word_space("=");
|
||||
match term {
|
||||
Term::Ty(ty) => self.print_type(ty),
|
||||
Term::Const(ref c) => self.print_anon_const(c),
|
||||
Term::Const(ref c) => self.print_const_arg(c),
|
||||
}
|
||||
}
|
||||
hir::AssocItemConstraintKind::Bound { bounds } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue