aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorCasey Primozic <[email protected]>2020-10-07 07:56:31 +0100
committerCasey Primozic <[email protected]>2020-10-07 07:56:31 +0100
commit13bdadb515fa08a3a24362c92cfc658b8cf159de (patch)
treebea8eaefbb8362a3be00ce911274525be4995902 /crates
parentf40e86e1412206dd3b097ef9bd0c22fd1c358293 (diff)
Make unimplemented match variants explicit
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_ty/src/traits/chalk/mapping.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir_ty/src/traits/chalk/mapping.rs b/crates/hir_ty/src/traits/chalk/mapping.rs
index 31c902de6..be3301313 100644
--- a/crates/hir_ty/src/traits/chalk/mapping.rs
+++ b/crates/hir_ty/src/traits/chalk/mapping.rs
@@ -399,7 +399,8 @@ impl ToChalk for TypeCtor {
399 // this should not be reached, since we don't represent TypeName::Error with TypeCtor 399 // this should not be reached, since we don't represent TypeName::Error with TypeCtor
400 unreachable!() 400 unreachable!()
401 } 401 }
402 _ => unimplemented!(), // FIXME 402 TypeName::Generator(_) => unimplemented!(), // FIXME
403 TypeName::GeneratorWitness(_) => unimplemented!(), // FIXME
403 } 404 }
404 } 405 }
405} 406}