1
Fork 0

add eq constraints on associated constants

This commit is contained in:
kadmin 2021-07-30 08:56:45 +00:00
parent a34c079752
commit 0765999622
23 changed files with 195 additions and 113 deletions

View file

@ -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);
}