Skip to content

Commit 13bdadb

Browse files
committed
Make unimplemented match variants explicit
1 parent f40e86e commit 13bdadb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/hir_ty/src/traits/chalk/mapping.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ impl ToChalk for TypeCtor {
399399
// this should not be reached, since we don't represent TypeName::Error with TypeCtor
400400
unreachable!()
401401
}
402-
_ => unimplemented!(), // FIXME
402+
TypeName::Generator(_) => unimplemented!(), // FIXME
403+
TypeName::GeneratorWitness(_) => unimplemented!(), // FIXME
403404
}
404405
}
405406
}

0 commit comments

Comments
 (0)