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 834360430..28a5fbe3e 100644 --- a/crates/ra_hir_ty/src/traits/chalk/mapping.rs +++ b/crates/ra_hir_ty/src/traits/chalk/mapping.rs | |||
@@ -482,6 +482,11 @@ impl ToChalk for GenericPredicate { | |||
482 | let ty = from_chalk(db, projection_eq.ty); | 482 | let ty = from_chalk(db, projection_eq.ty); |
483 | GenericPredicate::Projection(ProjectionPredicate { projection_ty, ty }) | 483 | GenericPredicate::Projection(ProjectionPredicate { projection_ty, ty }) |
484 | } | 484 | } |
485 | |||
486 | chalk_ir::WhereClause::LifetimeOutlives(_) => { | ||
487 | // we shouldn't get these from Chalk | ||
488 | panic!("encountered LifetimeOutlives from Chalk") | ||
489 | } | ||
485 | } | 490 | } |
486 | } | 491 | } |
487 | } | 492 | } |