We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d5f41 commit a8d2474Copy full SHA for a8d2474
compiler/rustc_ast_lowering/src/item.rs
@@ -340,7 +340,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
340
// method, it will not be considered an in-band
341
// lifetime to be added, but rather a reference to a
342
// parent lifetime.
343
- let lowered_trait_def_id = self.lower_node_id(id).expect_owner();
+ let lowered_trait_def_id = hir_id.expect_owner();
344
let (generics, (trait_ref, lowered_ty)) = self.add_in_band_defs(
345
ast_generics,
346
lowered_trait_def_id,
0 commit comments