banish hir::GenericBound::LangItemTrait
This commit is contained in:
parent
ad00641b74
commit
fc010de26b
12 changed files with 68 additions and 135 deletions
|
@ -2088,11 +2088,6 @@ impl<'a> State<'a> {
|
|||
}
|
||||
self.print_poly_trait_ref(tref);
|
||||
}
|
||||
GenericBound::LangItemTrait(lang_item, span, ..) => {
|
||||
self.word("#[lang = \"");
|
||||
self.print_ident(Ident::new(lang_item.name(), *span));
|
||||
self.word("\"]");
|
||||
}
|
||||
GenericBound::Outlives(lt) => {
|
||||
self.print_lifetime(lt);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue