aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-03 18:17:50 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-03 19:27:24 +0000
commita4aeea9a90b3ed23e154d325b0224d788a89f609 (patch)
treece29dafd6f50aeb31671ffd8d07f43a7c60e6e5b /gcc/rust/hir/rust-hir-dump.cc
parent06e1d43c2f8a05af9fd862e6497c21741fce85c7 (diff)
downloadgcc-a4aeea9a90b3ed23e154d325b0224d788a89f609.zip
gcc-a4aeea9a90b3ed23e154d325b0224d788a89f609.tar.gz
gcc-a4aeea9a90b3ed23e154d325b0224d788a89f609.tar.bz2
gccrs: make predicate bounds overwrite-able
When compiling types especially when using queries it needs to be permissive and allow them to be overwritten and a predicate might have one set of details in one senario and a new one with the same id later on but with different types. Fixes #1524 Signed-off-by: Philip Herron <herron.philip@googlemail.com> gcc/rust/ChangeLog: * typecheck/rust-typecheck-context.cc (TypeCheckContext::insert_resolved_predicate): remove gcc/testsuite/ChangeLog: * rust/compile/issue-1524.rs: New test.
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions