aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-19 09:48:49 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:09 +0100
commit7ec5d6bcbff36d98ae3dce2b928ae1202d208e48 (patch)
tree487372c61d936634bf194b854690e834f0e54e54 /gcc/rust/resolve/rust-ast-resolve-path.h
parent1113b8e0340aec62eb471115619f9624d15fe86a (diff)
downloadgcc-7ec5d6bcbff36d98ae3dce2b928ae1202d208e48.zip
gcc-7ec5d6bcbff36d98ae3dce2b928ae1202d208e48.tar.gz
gcc-7ec5d6bcbff36d98ae3dce2b928ae1202d208e48.tar.bz2
gccrs: Used `IndexVec` for Loans
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-place.h: Used `IndexVec` with ScopeId as index. * checks/errors/borrowck/rust-borrow-checker-diagnostics.cc (BorrowCheckerDiagnostics::get_loan): Convert Polonius::Loan to BIR::Loan, so we can use it as index. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions