Change to ReError(ErrorGuaranteed)
This commit is contained in:
parent
ffaf2a5c27
commit
861f451235
23 changed files with 70 additions and 61 deletions
|
@ -299,7 +299,7 @@ fn encode_region<'tcx>(
|
|||
RegionKind::ReEarlyBound(..)
|
||||
| RegionKind::ReFree(..)
|
||||
| RegionKind::ReStatic
|
||||
| RegionKind::ReError
|
||||
| RegionKind::ReError(_)
|
||||
| RegionKind::ReVar(..)
|
||||
| RegionKind::RePlaceholder(..) => {
|
||||
bug!("encode_region: unexpected `{:?}`", region.kind());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue