aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorAntonio Gomes <antoniospg100@gmail.com>2024-07-14 01:45:24 -0300
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-07-17 11:41:19 +0000
commit5f001bab74ab079b03694191aaf342edf1c18b86 (patch)
treeaa54fe5c5540fcb267f997f51ef591612ebe19c9 /gcc/rust/hir/rust-hir-dump.cc
parentc1ba8985c6599a8cde5c9462e38515f29e54f69e (diff)
downloadgcc-5f001bab74ab079b03694191aaf342edf1c18b86.zip
gcc-5f001bab74ab079b03694191aaf342edf1c18b86.tar.gz
gcc-5f001bab74ab079b03694191aaf342edf1c18b86.tar.bz2
Improve error messages for operator expressions
gcc/rust/ChangeLog: * hir/tree/rust-hir-expr.h: Add new get_operator_str method in ArithmeticOrLogicalExpr and CompoundAssignmentExpr * hir/tree/rust-hir.cc: Likewise * typecheck/rust-hir-type-check-expr.cc: Improve error message for operator expressions to display the correct operator symbol gcc/testsuite/ChangeLog: * rust/compile/shadow1.rs: Fix test for new error message Signed-off-by: Antonio Gomes <antoniospg100@gmail.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions