1
Fork 0

expand fuzzing support

this allows us to only sometimes disable the global cache.
This commit is contained in:
lcnr 2024-07-23 13:12:23 +02:00
parent 7b86c98068
commit 51338ca0eb
2 changed files with 56 additions and 9 deletions

View file

@ -1,3 +1,4 @@
use std::convert::Infallible;
use std::marker::PhantomData;
use rustc_type_ir::inherent::*;
@ -22,6 +23,14 @@ where
{
type Cx = D::Interner;
type ValidationScope = Infallible;
fn enter_validation_scope(
_cx: Self::Cx,
_input: <Self::Cx as search_graph::Cx>::Input,
) -> Option<Self::ValidationScope> {
None
}
const FIXPOINT_STEP_LIMIT: usize = FIXPOINT_STEP_LIMIT;
type ProofTreeBuilder = ProofTreeBuilder<D>;