Skip to content

Commit 155e556

Browse files
committed
Fix another incorrect NodeId
1 parent 54cd3cf commit 155e556

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
@@ -1189,7 +1189,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
11891189
&& let Res::Def(DefKind::ConstParam, _) = res
11901190
{
11911191
let qpath = self.lower_qpath(
1192-
anon.id,
1192+
anon.value.id,
11931193
qself,
11941194
path,
11951195
ParamMode::Optional,

0 commit comments

Comments
 (0)