diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2024-07-19 13:42:03 +0000 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-07-24 11:44:33 +0000 |
commit | 8c357fd0072a29b24e10a8a1fe287f86f8c9b553 (patch) | |
tree | d789e653f2bcca412fc6210aaad36370cd9c4d98 /gcc/rust/hir/rust-hir-dump.cc | |
parent | 34a0835087d1a451aceeccda40e6754182b25ed3 (diff) | |
download | gcc-8c357fd0072a29b24e10a8a1fe287f86f8c9b553.zip gcc-8c357fd0072a29b24e10a8a1fe287f86f8c9b553.tar.gz gcc-8c357fd0072a29b24e10a8a1fe287f86f8c9b553.tar.bz2 |
gccrs: [E0576] Associated `item` not found in given `type`
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-type.cc (TypeCheckType::visit):
Add rich error message and error code similiar to rustc with
associaed type and trait name
gcc/testsuite/ChangeLog:
* rust/compile/unknown-associated-item.rs: New test.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions