1
Fork 0

Remove HirId from QPath::LangItem

This commit is contained in:
Michael Goulet 2023-11-23 06:01:35 +00:00
parent fe3038f263
commit fa7633dda1
12 changed files with 41 additions and 71 deletions

View file

@ -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("\"]");