Remove HirId from QPath::LangItem
This commit is contained in:
@@ -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("\"]");
|
||||
|
||||
Reference in New Issue
Block a user