add eq constraints on associated constants
This commit is contained in:
parent
a34c079752
commit
0765999622
23 changed files with 195 additions and 113 deletions
|
@ -1756,6 +1756,10 @@ impl<'a> State<'a> {
|
|||
self.word_space("=");
|
||||
self.print_type(ty);
|
||||
}
|
||||
hir::TypeBindingKind::Const { ref c } => {
|
||||
self.word_space("=");
|
||||
self.print_anon_const(c);
|
||||
}
|
||||
hir::TypeBindingKind::Constraint { bounds } => {
|
||||
self.print_bounds(":", bounds);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue