We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
suppress_errors
1 parent f6a84d1 commit ba4445bCopy full SHA for ba4445b
src/librustc_mir/transform/qualify_consts.rs
@@ -674,8 +674,10 @@ struct Checker<'a, 'tcx> {
674
675
temp_promotion_state: IndexVec<Local, TempState>,
676
promotion_candidates: Vec<Candidate>,
677
- errors: Vec<(Span, String)>,
+
678
+ /// If `true`, do not emit errors to the user, merely collect them in `errors`.
679
suppress_errors: bool,
680
+ errors: Vec<(Span, String)>,
681
}
682
683
macro_rules! unleash_miri {
0 commit comments