aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-04-04 15:40:26 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-04-05 09:24:55 +0000
commit92b137048583c2c22c585097119dba6a5fe06228 (patch)
treeaacc605e53a28780e6d4dd08ab9165c5890c3476 /gcc/rust/rust-lang.cc
parent4d663acdb6e685c07818aa4229c7b1f2224d678b (diff)
downloadgcc-92b137048583c2c22c585097119dba6a5fe06228.zip
gcc-92b137048583c2c22c585097119dba6a5fe06228.tar.gz
gcc-92b137048583c2c22c585097119dba6a5fe06228.tar.bz2
gccrs: Support fully qualified calls to trait items from CallExpr's
Fixes #2070 gcc/rust/ChangeLog: * backend/rust-compile-resolve-path.cc (HIRCompileBase::query_compile): reuse resolve_method_address to monomorphize the call if required * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_segments): allow matching against unimplemented trait item bounds gcc/testsuite/ChangeLog: * rust/compile/issue-2070.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/rust-lang.cc')
0 files changed, 0 insertions, 0 deletions