aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-07 05:19:28 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:08 +0100
commitf5e05755e91e7b32c79dc8c371557cf0049b4277 (patch)
tree1710e7570be629568304620eae56c9d1c982e15d /gcc/rust/resolve/rust-ast-resolve-path.h
parentb168b618165977d4041aa553813462622bcd781f (diff)
downloadgcc-f5e05755e91e7b32c79dc8c371557cf0049b4277.zip
gcc-f5e05755e91e7b32c79dc8c371557cf0049b4277.tar.gz
gcc-f5e05755e91e7b32c79dc8c371557cf0049b4277.tar.bz2
gccrs: Strong type FreeRegion
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-internal.h: Use STATIC_FREE_REGION, use value of FreeRegion for origin. * checks/errors/borrowck/rust-bir-builder.h: Use free region value. * checks/errors/borrowck/rust-bir-dump.cc (Dump::visit_scope): Likewise. * checks/errors/borrowck/rust-bir-fact-collector.h (points): Likewise. * checks/errors/borrowck/rust-bir-free-region.h (struct FreeRegion): Make FreeRegion a struct. * checks/errors/borrowck/rust-bir-place.h: Use FreeRegion instead of Origin in PlaceDB. * typecheck/rust-tyty-variance-analysis.cc (FieldVisitorCtx::add_constraints_from_region): Use value of FreeRegion for origin. (FieldVisitorCtx::add_constrints_from_param): Likewise. (Term::make_transform): Likewise. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions