diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-07-18 18:55:32 +0500 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-07-27 09:07:54 +0000 |
commit | 245867e9999c11be2a725156cead914ad402059e (patch) | |
tree | ac58439a88a39ed56ebabce844c9553b58158729 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | cd38fecd8fc80139956dc5f0d47a6651216a9897 (diff) | |
download | gcc-245867e9999c11be2a725156cead914ad402059e.zip gcc-245867e9999c11be2a725156cead914ad402059e.tar.gz gcc-245867e9999c11be2a725156cead914ad402059e.tar.bz2 |
gccrs: [E0323] Implemented associated const, expected another trait
Refactored Error message similiar to rustc.
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-implitem.cc (TypeCheckImplItemWithTrait::visit):
called error function.
gcc/testsuite/ChangeLog:
* rust/compile/non_member_const.rs: New test.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions