X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_save_analysis%2Fsrc%2Fsig.rs;h=1d9c44bffa3fc83cdf1618ef6c418a4d2b1e4534;hb=f640438b402b6507e734862026b0b004090c8ac0;hp=7864b47ab0a7f429decd27730ceaeffef2f3da2d;hpb=4e880f8cbc191374ce7db335962489f41d6d4e3e;p=rust.git diff --git a/compiler/rustc_save_analysis/src/sig.rs b/compiler/rustc_save_analysis/src/sig.rs index 7864b47ab0a..1d9c44bffa3 100644 --- a/compiler/rustc_save_analysis/src/sig.rs +++ b/compiler/rustc_save_analysis/src/sig.rs @@ -286,7 +286,7 @@ fn make(&self, offset: usize, _parent_id: Option, scx: &SaveContext< refs: vec![SigElement { id, start, end }], }) } - hir::TyKind::Path(hir::QPath::LangItem(lang_item, _)) => { + hir::TyKind::Path(hir::QPath::LangItem(lang_item, _, _)) => { Ok(text_sig(format!("#[lang = \"{}\"]", lang_item.name()))) } hir::TyKind::TraitObject(bounds, ..) => {