1
Fork 0

A bit more work on late-bound consts

This commit is contained in:
Michael Goulet 2023-02-06 22:02:10 +00:00
parent 3f521b3542
commit 915703ca7a
2 changed files with 23 additions and 14 deletions

View file

@ -1364,11 +1364,7 @@ impl<'a, 'tcx> BoundVarContext<'a, 'tcx> {
return;
}
span_bug!(
self.tcx.hir().span(hir_id),
"could not resolve {param_def_id:?}, scopes: {:#?}",
self.scope
);
span_bug!(self.tcx.hir().span(hir_id), "could not resolve {param_def_id:?}",);
}
#[instrument(level = "debug", skip(self))]