diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-03-27 14:22:48 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-31 21:07:17 +0200 |
commit | 5ea9b77d2790177fc3e224140b1b671363f689f2 (patch) | |
tree | d93ccd45d1c0e045d3d3bd2db32822c37f8dab62 /gcc/testsuite/gcc.dg/cpp | |
parent | a99268b1cc0069ba3d4ad177e8ab0cefc335b9ea (diff) | |
download | gcc-5ea9b77d2790177fc3e224140b1b671363f689f2.zip gcc-5ea9b77d2790177fc3e224140b1b671363f689f2.tar.gz gcc-5ea9b77d2790177fc3e224140b1b671363f689f2.tar.bz2 |
gccrs: Fix ICE when doing method resolution on trait predicates
We need to ensure we are adding methods to the possible candidates.
Fixes Rust-GCC#3554
gcc/rust/ChangeLog:
* typecheck/rust-hir-dot-operator.cc:
gcc/testsuite/ChangeLog:
* rust/compile/issue-3554-1.rs: New test.
* rust/compile/issue-3554-2.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
0 files changed, 0 insertions, 0 deletions