type_flags(ReError) & HAS_ERROR
gen
For more information about how rustc works, see the rustc dev guide.