diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-08-15 20:19:36 +0500 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-08-17 13:33:23 +0000 |
commit | d4bf5e3f23bfbbfc3b42ca523fc6f46cae064808 (patch) | |
tree | 49a82a00409fdf38abff4851d889478c138794de /gcc/rust/backend | |
parent | 9ef8689c7faeec4f6833bff39aa2301f14209c9a (diff) | |
download | gcc-d4bf5e3f23bfbbfc3b42ca523fc6f46cae064808.zip gcc-d4bf5e3f23bfbbfc3b42ca523fc6f46cae064808.tar.gz gcc-d4bf5e3f23bfbbfc3b42ca523fc6f46cae064808.tar.bz2 |
gccrs: [E0034] found more than one items for method
Multiple items found with same prototype.
Fixes: https://github.com/Rust-GCC/gccrs/issues/2366
gcc/rust/ChangeLog:
* typecheck/rust-hir-path-probe.h:
Fixes issue & added rich location message.
* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit):
Added rich location and error code.
gcc/testsuite/ChangeLog:
* rust/compile/generics6.rs: Updated dejagnu comment.
* rust/compile/generics7.rs: likewise.
* rust/compile/issue-925.rs: likewise.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions