aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-07-18 16:07:32 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:56:03 +0100
commitf84d52a5173c1b432ad07294bc643dc5e8d53bdf (patch)
tree42c15856552bef0adb72c7ad892b0b964af17dfa /gcc/testsuite/rust/compile
parentc533a11ae05bae53e4421810f7108aac697ded4e (diff)
downloadgcc-f84d52a5173c1b432ad07294bc643dc5e8d53bdf.zip
gcc-f84d52a5173c1b432ad07294bc643dc5e8d53bdf.tar.gz
gcc-f84d52a5173c1b432ad07294bc643dc5e8d53bdf.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/testsuite/rust/compile')
0 files changed, 0 insertions, 0 deletions