Remove HirId from QPath::LangItem
This commit is contained in:
parent
fe3038f263
commit
fa7633dda1
12 changed files with 41 additions and 71 deletions
|
@ -2546,7 +2546,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
|||
.map(|(ty, _, _)| ty)
|
||||
.unwrap_or_else(|guar| Ty::new_error(tcx, guar))
|
||||
}
|
||||
&hir::TyKind::Path(hir::QPath::LangItem(lang_item, span, _)) => {
|
||||
&hir::TyKind::Path(hir::QPath::LangItem(lang_item, span)) => {
|
||||
let def_id = tcx.require_lang_item(lang_item, Some(span));
|
||||
let (args, _) = self.create_args_for_ast_path(
|
||||
span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue