aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-rib.cc
diff options
context:
space:
mode:
authorMuhammad Mahad <mahadtxt@gmail.com>2023-08-01 15:00:06 +0500
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:00:26 +0100
commit7c10950f544f7972317c848bec284af63981943d (patch)
tree5a2f6f1b99f3b632f0d7967ede20af2c17486afe /gcc/rust/resolve/rust-rib.cc
parentf0193accb7bbf8240a5beae3ddef7a102d68fb47 (diff)
downloadgcc-7c10950f544f7972317c848bec284af63981943d.zip
gcc-7c10950f544f7972317c848bec284af63981943d.tar.gz
gcc-7c10950f544f7972317c848bec284af63981943d.tar.bz2
gccrs: [E0426] Use of undeclared label
Refactored error message to print more userfriendly message and added error code. gcc/rust/ChangeLog: * resolve/rust-ast-resolve-expr.cc (ResolveExpr::visit): refactored message and called error function. gcc/testsuite/ChangeLog: * rust/compile/undeclared_label.rs: New test for E0426. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-rib.cc')
0 files changed, 0 insertions, 0 deletions