]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/astconv/mod.rs
Rename `GenericArg::id` as `GenericArg::hir_id`.
[rust.git] / compiler / rustc_typeck / src / astconv / mod.rs
index 5bb02bc246caf28bf5c05136bf6418a515747109..85dee26012981e12b37f87f7b71b526877c665f0 100644 (file)
@@ -398,7 +398,7 @@ fn provided_kind(
                     if has_default {
                         tcx.check_optional_stability(
                             param.def_id,
-                            Some(arg.id()),
+                            Some(arg.hir_id()),
                             arg.span(),
                             None,
                             AllowUnstable::No,