]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: [E0599] Failed to resovle method implementation
authorMuhammad Mahad <mahadtxt@gmail.com>
Tue, 29 Aug 2023 15:00:18 +0000 (20:00 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:04:35 +0000 (19:04 +0100)
commit2b560b964d60e42ea4cc99118b786acb0d96db34
treec352e1336c1bea0db328a4b263344dbd28fb7d3e
parentf14cbab89d7a3678dd6c3b2f4a1102b4e6e95cf8
gccrs: [E0599] Failed to resovle method implementation

gcc/rust/ChangeLog:

* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit):
Added new error message, rich location and error code.

gcc/testsuite/ChangeLog:

* rust/compile/cfg2.rs: Updated according to new message.
* rust/compile/issue-2139.rs: likewise.
* rust/compile/issue-2190-1.rs: likewise.
* rust/compile/method1.rs: likewise.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/typecheck/rust-hir-type-check-expr.cc
gcc/testsuite/rust/compile/cfg2.rs
gcc/testsuite/rust/compile/issue-2139.rs
gcc/testsuite/rust/compile/issue-2190-1.rs
gcc/testsuite/rust/compile/method1.rs