aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-11-02 11:48:06 +0000
committerPhilip Herron <philip.herron@embecosm.com>2021-11-02 11:48:06 +0000
commitfc5f8d746362a42adc52e538dec248bd2992a794 (patch)
treec49825727c7726769f7226e3ed8b3697192cb7d3 /gcc/rust/backend/rust-compile-expr.h
parente3defa10bc63ba3f81da00fc322b5b1e0d1717ed (diff)
downloadgcc-fc5f8d746362a42adc52e538dec248bd2992a794.zip
gcc-fc5f8d746362a42adc52e538dec248bd2992a794.tar.gz
gcc-fc5f8d746362a42adc52e538dec248bd2992a794.tar.bz2
Default type checking on CallExpr's to TyTy::ErrorType
It is ok for type checking to error/fail on a construct within the crate, we can try our best to continue on to find as many errors as possible. To achieve this without running into nullptr's we can use the ErrorType node to signify an error. This also cleans up alot of noise in our error handling.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions