diff options
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r-- | crates/ra_hir_ty/src/traits/chalk/mapping.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/traits/chalk/mapping.rs b/crates/ra_hir_ty/src/traits/chalk/mapping.rs index 5f6daf842..9150f65d4 100644 --- a/crates/ra_hir_ty/src/traits/chalk/mapping.rs +++ b/crates/ra_hir_ty/src/traits/chalk/mapping.rs | |||
@@ -447,6 +447,11 @@ impl ToChalk for GenericPredicate { | |||
447 | let ty = from_chalk(db, projection_eq.ty); | 447 | let ty = from_chalk(db, projection_eq.ty); |
448 | GenericPredicate::Projection(ProjectionPredicate { projection_ty, ty }) | 448 | GenericPredicate::Projection(ProjectionPredicate { projection_ty, ty }) |
449 | } | 449 | } |
450 | |||
451 | chalk_ir::WhereClause::LifetimeOutlives(_) => { | ||
452 | // we shouldn't get these from Chalk | ||
453 | panic!("encountered LifetimeOutlives from Chalk") | ||
454 | } | ||
450 | } | 455 | } |
451 | } | 456 | } |
452 | } | 457 | } |