A bit more work on late-bound consts
This commit is contained in:
parent
3f521b3542
commit
915703ca7a
2 changed files with 23 additions and 14 deletions
|
@ -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))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue