aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-context.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-08-24 17:51:21 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-03-26 17:35:02 +0000
commita8b5f28aec56f355fe2db1e65d1cb380374f9ce2 (patch)
tree0dcf66e8e2cf16d019c47b424d3fb69ca86ce633 /gcc/rust/backend/rust-compile-context.h
parent77a6a631b4b2421d0a7b7b8753b9d677ec611104 (diff)
downloadgcc-a8b5f28aec56f355fe2db1e65d1cb380374f9ce2.zip
gcc-a8b5f28aec56f355fe2db1e65d1cb380374f9ce2.tar.gz
gcc-a8b5f28aec56f355fe2db1e65d1cb380374f9ce2.tar.bz2
typecheck: Start using nr2.0 properly
Fetch the ImmutableNrCtx in order to access name resolver during typechecking. gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): Start fetching name resolution information in the typechecker. * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Likewise. * typecheck/rust-hir-type-check-path.cc: Use nr 2.0.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions