fix: is_transmutable always panicking

This commit is contained in:
Cole Kauder-McMurrich 2025-12-10 02:14:43 -05:00
parent cdc7296a60
commit fc5a6832eb

View file

@ -225,7 +225,9 @@ impl<'db> SolverDelegate for SolverContext<'db> {
_src: Ty<'db>,
_assume: <Self::Interner as rustc_type_ir::Interner>::Const,
) -> Result<Certainty, NoSolution> {
unimplemented!()
// It's better to return some value while not fully implement
// then panic in the mean time
Ok(Certainty::Yes)
}
fn evaluate_const(