Skip to content

Commit a020818

Browse files
committed
Fix another incorrect NodeId
1 parent e0dd606 commit a020818

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

0 commit comments

Comments
 (0)