diff options
Diffstat (limited to 'gcc/rust/resolve/rust-ast-verify-assignee.h')
-rw-r--r-- | gcc/rust/resolve/rust-ast-verify-assignee.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-ast-verify-assignee.h b/gcc/rust/resolve/rust-ast-verify-assignee.h index 11a5414..aed0119 100644 --- a/gcc/rust/resolve/rust-ast-verify-assignee.h +++ b/gcc/rust/resolve/rust-ast-verify-assignee.h @@ -58,7 +58,8 @@ public: void visit (AST::IdentifierExpr &expr) override { if (!resolver->get_name_scope ().lookup ( - CanonicalPath::new_seg (expr.as_string ()), &resolved_node)) + CanonicalPath::new_seg (expr.get_node_id (), expr.as_string ()), + &resolved_node)) return; ok = true; |