Add rationale for suppress_errors flag
This commit is contained in:
parent
27bd84916c
commit
f2ff425622
1 changed files with 3 additions and 1 deletions
|
|
@ -674,8 +674,10 @@ struct Checker<'a, 'tcx> {
|
|||
|
||||
temp_promotion_state: IndexVec<Local, TempState>,
|
||||
promotion_candidates: Vec<Candidate>,
|
||||
errors: Vec<(Span, String)>,
|
||||
|
||||
/// If `true`, do not emit errors to the user, merely collect them in `errors`.
|
||||
suppress_errors: bool,
|
||||
errors: Vec<(Span, String)>,
|
||||
}
|
||||
|
||||
macro_rules! unleash_miri {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue