aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-07 08:44:03 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:08 +0100
commit9104447577afbbd3229d353cf48e46eb105cd130 (patch)
tree173247aab49df3dcf0fac451ebbacdd1d6c87a72 /gcc/rust/resolve
parente7a76ba9176304fab0924e429ae7ca1fa0ee434e (diff)
downloadgcc-9104447577afbbd3229d353cf48e46eb105cd130.zip
gcc-9104447577afbbd3229d353cf48e46eb105cd130.tar.gz
gcc-9104447577afbbd3229d353cf48e46eb105cd130.tar.bz2
gccrs: 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/rust/resolve')
0 files changed, 0 insertions, 0 deletions