Add #[track_caller]
to mirbug
This commit is contained in:
parent
cfa4ac66c1
commit
f6f8149577
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ fn translate_outlives_facts(typeck: &mut TypeChecker<'_, '_>) {
|
|||
}
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
fn mirbug(tcx: TyCtxt<'_>, span: Span, msg: &str) {
|
||||
// We sometimes see MIR failures (notably predicate failures) due to
|
||||
// the fact that we check rvalue sized predicates here. So use `delay_span_bug`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue