Skip to content

Commit bf36c72

Browse files
committed
Fix another incorrect NodeId
1 parent 38b5567 commit bf36c72

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
11871187
&& let Res::Def(DefKind::ConstParam, _) = res
11881188
{
11891189
let qpath = self.lower_qpath(
1190-
anon.id,
1190+
anon.value.id,
11911191
qself,
11921192
path,
11931193
ParamMode::Optional,

0 commit comments

Comments
 (0)