diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-02-07 14:55:16 +0000 | 
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-02-09 10:26:49 +0000 | 
| commit | 861f4512353e83dbc67de34992058f44fc1b4648 (patch) | |
| tree | 0478b87a60ee66956eb3ce137763a947a1c3fd4c /compiler/rustc_hir_analysis/src/variance/constraints.rs | |
| parent | ffaf2a5c270f6677d7746f6ae30f498692afc750 (diff) | |
| download | rust-861f4512353e83dbc67de34992058f44fc1b4648.tar.gz rust-861f4512353e83dbc67de34992058f44fc1b4648.zip | |
Change to `ReError(ErrorGuaranteed)`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/variance/constraints.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/variance/constraints.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_hir_analysis/src/variance/constraints.rs b/compiler/rustc_hir_analysis/src/variance/constraints.rs index 06a4a5d366f..b0cf0387f87 100644 --- a/compiler/rustc_hir_analysis/src/variance/constraints.rs +++ b/compiler/rustc_hir_analysis/src/variance/constraints.rs @@ -409,7 +409,7 @@ impl<'a, 'tcx> ConstraintContext<'a, 'tcx> { // way early-bound regions do, so we skip them here. } - ty::ReError => {} + ty::ReError(_) => {} ty::ReFree(..) | ty::ReVar(..) | ty::RePlaceholder(..) | ty::ReErased => { // We don't expect to see anything but 'static or bound | 
