diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-06-13 19:14:27 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-06-14 08:26:31 +0000 |
commit | c84e7d9db2d33b7684b0a6b4b3ab9d5540adac27 (patch) | |
tree | 9ed80010d9c2beb09c200f1ef5104532780ed00c /gcc/rust/resolve | |
parent | c021eef8aa73cc0a3a4e992018cab414a17db4c8 (diff) | |
download | gcc-c84e7d9db2d33b7684b0a6b4b3ab9d5540adac27.zip gcc-c84e7d9db2d33b7684b0a6b4b3ab9d5540adac27.tar.gz gcc-c84e7d9db2d33b7684b0a6b4b3ab9d5540adac27.tar.bz2 |
gccrs: fortify resolve_method_address to match the types
Fixes #2019
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address):
match the fntype to the candidate
gcc/testsuite/ChangeLog:
* rust/compile/issue-2019-2.rs: New test.
* rust/compile/issue-2019-3.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