aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2024-09-20 17:49:36 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:11 +0100
commit1e387486fbe93769221d905aae2b896ae0cb1cd3 (patch)
tree32e72137888dc8f0a7ed697286833fb6838af884 /gcc/rust/resolve
parent21e43d47d3f946a0b4f046125b07cdfc7172c41a (diff)
downloadgcc-1e387486fbe93769221d905aae2b896ae0cb1cd3.zip
gcc-1e387486fbe93769221d905aae2b896ae0cb1cd3.tar.gz
gcc-1e387486fbe93769221d905aae2b896ae0cb1cd3.tar.bz2
rust: negative polarity removes restrictions on validation of impl blocks
Negative polarity means we can just ignore if any trait items are not implemented. Fxies #3030 gcc/rust/ChangeLog: * hir/rust-ast-lower-item.cc (ASTLoweringItem::visit): the polarity was reversed * typecheck/rust-hir-type-check-item.cc: check the polarity gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: nr2 cant handle this * rust/compile/issue-3030.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions