]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: [E0380] Use of auto trait with method or associated item
authorMuhammad Mahad <mahadtxt@gmail.com>
Thu, 17 Aug 2023 05:25:33 +0000 (10:25 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:00:31 +0000 (19:00 +0100)
commit0ae1af0eb31d99f4cd5ba05a199770aeee764567
tree86f50c698edaba1d458f4a4a942e8ad5c4c5f78e
parentc0b25c9a3b25510d47cdf6b37afaf208c00a1c0d
gccrs: [E0380] Use of auto trait with method or associated item

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h (Parser::parse_trait):
added errorcode & updated error message.

gcc/testsuite/ChangeLog:

* rust/compile/auto_trait_invalid.rs:
Updated comment.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/parse/rust-parse-impl.h
gcc/testsuite/rust/compile/auto_trait_invalid.rs