aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-19 09:48:49 +0000
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-09-09 08:33:02 +0000
commit5f42a91bd2b308da2d78912f899dff871598b23e (patch)
tree30dc24692752c1088070a6109083ca45cd364198 /gcc/rust/resolve
parenta912ffbf32a20fa81120f36ad9042f0dc99872c2 (diff)
downloadgcc-5f42a91bd2b308da2d78912f899dff871598b23e.zip
gcc-5f42a91bd2b308da2d78912f899dff871598b23e.tar.gz
gcc-5f42a91bd2b308da2d78912f899dff871598b23e.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions