fix: is_transmutable always panicking
This commit is contained in:
parent
cdc7296a60
commit
fc5a6832eb
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue