]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/astconv/generics.rs
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
[rust.git] / compiler / rustc_typeck / src / astconv / generics.rs
index ad0da4bed4573caf03c716f585f6bd8968a34a3b..afac75de2d96d8e831fab717695e89e896938bd7 100644 (file)
@@ -647,7 +647,7 @@ pub(crate) fn prohibit_explicit_late_bound_lifetimes(
                 multispan.push_span_label(span_late, note);
                 tcx.struct_span_lint_hir(
                     LATE_BOUND_LIFETIME_ARGUMENTS,
-                    args.args[0].id(),
+                    args.args[0].hir_id(),
                     multispan,
                     |lint| {
                         lint.build(msg).emit();