aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-07-18 16:07:32 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-07-29 23:51:27 +0000
commiteefebdb3a1dd1b47b9512ee43b7766cae5967907 (patch)
treeaa03c2bc343e3d2b768bc0228b74c205ce2c06ad /gcc/rust/resolve
parentf284cff3ff950198c9f175200deb8ca48d498921 (diff)
downloadgcc-eefebdb3a1dd1b47b9512ee43b7766cae5967907.zip
gcc-eefebdb3a1dd1b47b9512ee43b7766cae5967907.tar.gz
gcc-eefebdb3a1dd1b47b9512ee43b7766cae5967907.tar.bz2
gccrs: Track polarity in type bound predicate
Addresses #2443 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.cc: track regular polarity * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_trait): likewise * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): likewise * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): likewise * typecheck/rust-tyty-bounds.cc (TypeCheckBase::get_predicate_from_bound): likewise (TypeBoundPredicate::TypeBoundPredicate): update ctor (TypeBoundPredicate::operator=): update copy assignment ctor (TypeBoundPredicate::error): update error node * typecheck/rust-tyty.h: add polarity field to predicate Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions