From 13bdadb515fa08a3a24362c92cfc658b8cf159de Mon Sep 17 00:00:00 2001 From: Casey Primozic Date: Tue, 6 Oct 2020 23:56:31 -0700 Subject: Make unimplemented match variants explicit --- crates/hir_ty/src/traits/chalk/mapping.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/hir_ty/src/traits') 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 { // this should not be reached, since we don't represent TypeName::Error with TypeCtor unreachable!() } - _ => unimplemented!(), // FIXME + TypeName::Generator(_) => unimplemented!(), // FIXME + TypeName::GeneratorWitness(_) => unimplemented!(), // FIXME } } } -- cgit v1.2.3