aboutsummaryrefslogtreecommitdiff
path: root/gcc/dump-context.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-07 08:44:03 +0000
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-09-09 08:33:02 +0000
commitb3dd18c0ef3009c32f5efd485de0221e969538c7 (patch)
tree630f5f6fce767d52552da73d4c8dd6257120146a /gcc/dump-context.h
parent5b8299d7694f0b251dbff422f78f4f706f0dbbe9 (diff)
downloadgcc-b3dd18c0ef3009c32f5efd485de0221e969538c7.zip
gcc-b3dd18c0ef3009c32f5efd485de0221e969538c7.tar.gz
gcc-b3dd18c0ef3009c32f5efd485de0221e969538c7.tar.bz2
Strong type LoanId
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-dump.cc (Dump::visit): Use new API, i.e get_loan_id() instead of get_loan(). * checks/errors/borrowck/rust-bir-fact-collector.h (points): Use value of LoanId in Polonius facts. * checks/errors/borrowck/rust-bir-place.h (struct LoanId): LoanId is a struct now. * checks/errors/borrowck/rust-bir.h (class AbstractExpr): Use new API, as we are getting a LoanId and not a loan itself. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/dump-context.h')
0 files changed, 0 insertions, 0 deletions