Remove HirId from QPath::LangItem
This commit is contained in:
parent
fe3038f263
commit
fa7633dda1
12 changed files with 41 additions and 71 deletions
|
@ -1623,7 +1623,7 @@ impl<'a> State<'a> {
|
|||
self.print_ident(item_segment.ident);
|
||||
self.print_generic_args(item_segment.args(), colons_before_params)
|
||||
}
|
||||
hir::QPath::LangItem(lang_item, span, _) => {
|
||||
hir::QPath::LangItem(lang_item, span) => {
|
||||
self.word("#[lang = \"");
|
||||
self.print_ident(Ident::new(lang_item.name(), span));
|
||||
self.word("\"]");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue