aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2025-04-06 17:09:42 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2025-04-24 16:53:44 +0000
commitca4175b0e5c86d864d973875f7bb793bdcd2c7dd (patch)
tree3a6497d97fe070347618e58ea4a07e048db1e0d8 /gcc/errors.cc
parent22c008cc523fcc12fe03a244a61d327e06df35bf (diff)
downloadgcc-ca4175b0e5c86d864d973875f7bb793bdcd2c7dd.zip
gcc-ca4175b0e5c86d864d973875f7bb793bdcd2c7dd.tar.gz
gcc-ca4175b0e5c86d864d973875f7bb793bdcd2c7dd.tar.bz2
Add binding context class
We need to differentiate bindings types, so the same binding cannot be reused multiple time in a product binding. gcc/rust/ChangeLog: * resolve/rust-name-resolution-context.h (struct Binding): Add Binding struct to differentiate Or and Product bindings in patterns. (enum class): Add Binding kind. (class BindingContext): Add binding context with Binding stack. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/errors.cc')
0 files changed, 0 insertions, 0 deletions