Function rustc_interface::passes::check_for_rustc_errors_attr
source ยท fn check_for_rustc_errors_attr(tcx: TyCtxt<'_>)
Expand description
Check for the #[rustc_error]
annotation, which forces an error in codegen. This is used
to write UI tests that actually test that compilation succeeds without reporting
an error.