aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-19 09:28:25 +0000
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-09-09 08:33:02 +0000
commitfe780d77dbd7c16076817a43b5f72ce645b2bb48 (patch)
tree50afe5f84ba865ae2bc8f1db210e482f5bf06331 /gcc/rust/resolve
parent4050bf70e245e0bedcfa5198e7a1e6bd14db6b0f (diff)
downloadgcc-fe780d77dbd7c16076817a43b5f72ce645b2bb48.zip
gcc-fe780d77dbd7c16076817a43b5f72ce645b2bb48.tar.gz
gcc-fe780d77dbd7c16076817a43b5f72ce645b2bb48.tar.bz2
Introduce `IndexVec`
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-place.h (struct Loan): Introduce new class `IndexVec` inspired from IndexVec of rust. It acts as a wrapper around `std::vector` and lets user specify a strong type to use as index. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions