]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: gccrs:[E0592] methods or associated functions with same name already defined
authorMuhammad Mahad <mahadtxt@gmail.com>
Thu, 17 Aug 2023 05:42:52 +0000 (10:42 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:04:31 +0000 (19:04 +0100)
commitdc68505f4cedfd06cc72657f3e9d14cc57335362
tree2abd38a99803dc046b39e8e3ff711a90039e44c8
parent5372086cf5243fa52c09bed8db49fe12918ab746
gccrs: gccrs:[E0592] methods or associated functions with same name already defined

gcc/rust/ChangeLog:

* typecheck/rust-hir-inherent-impl-overlap.h:
Added rich location and errorcode.
* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit):
likewise.

gcc/testsuite/ChangeLog:

* rust/compile/generics7.rs: Added Errorcode hint.
* rust/compile/generics8.rs: Updated dejagnu comment.
* rust/compile/issue-925.rs: Added Errorcode hint.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h
gcc/rust/typecheck/rust-hir-type-check-expr.cc
gcc/testsuite/rust/compile/generics7.rs
gcc/testsuite/rust/compile/generics8.rs
gcc/testsuite/rust/compile/issue-925.rs