aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorMuhammad Mahad <mahadtxt@gmail.com>2023-07-18 18:55:32 +0500
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-27 09:07:54 +0000
commit245867e9999c11be2a725156cead914ad402059e (patch)
treeac58439a88a39ed56ebabce844c9553b58158729 /gcc/rust/resolve
parentcd38fecd8fc80139956dc5f0d47a6651216a9897 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions