aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-19 09:28:25 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:09 +0100
commitd91f1148d85ae0801387975364a5338237ac6efc (patch)
treeac108b213aed118d1124fc1a3a3fab0c6ba8b9c5 /gcc/rust/resolve
parent11b808ba788834072539a4aca6d64144243e5d46 (diff)
downloadgcc-d91f1148d85ae0801387975364a5338237ac6efc.zip
gcc-d91f1148d85ae0801387975364a5338237ac6efc.tar.gz
gcc-d91f1148d85ae0801387975364a5338237ac6efc.tar.bz2
gccrs: 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