We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdc7296 + fc5a683 commit 5f4aca3Copy full SHA for 5f4aca3
src/tools/rust-analyzer/crates/hir-ty/src/next_solver/solver.rs
@@ -225,7 +225,9 @@ impl<'db> SolverDelegate for SolverContext<'db> {
225
_src: Ty<'db>,
226
_assume: <Self::Interner as rustc_type_ir::Interner>::Const,
227
) -> Result<Certainty, NoSolution> {
228
- unimplemented!()
+ // It's better to return some value while not fully implement
229
+ // then panic in the mean time
230
+ Ok(Certainty::Yes)
231
}
232
233
fn evaluate_const(
0 commit comments