aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorMuhammad Mahad <mahadtxt@gmail.com>2023-08-10 22:10:09 +0500
committerPhilip Herron <philip.herron@embecosm.com>2023-08-16 11:03:52 +0000
commitefa3041b4b19d598b919455ec1290ba899e54508 (patch)
tree6b9b5b05fb8f60da2344a1a53e34ae4d9e66a565 /gcc/rust/backend
parent5545c75fa5574fcc96717ba1656653621204fca2 (diff)
downloadgcc-efa3041b4b19d598b919455ec1290ba899e54508.zip
gcc-efa3041b4b19d598b919455ec1290ba899e54508.tar.gz
gcc-efa3041b4b19d598b919455ec1290ba899e54508.tar.bz2
gccrs: Support for rich-loc & errorcode in parser error
Added method of binding ErrorCode & rich location to parser and expansion errors. Fixes https://github.com/Rust-GCC/gccrs/issues/2385 gcc/rust/ChangeLog: * rust-diagnostics.cc (va_constructor): Added constructor for all possible cases. (Error::Error): Updated error struct for all possible cases. * rust-diagnostics.h (struct Error): Updated error struct to support error code & rich location support. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions