pub trait DynRule: Debug + Spanned {
// Required methods
fn kind(&self) -> Check;
fn apply_dyn<'input>(
&self,
context: &mut dyn Context<'input, '_>,
) -> DiagResult<Matches<'input>>;
}
pub trait DynRule: Debug + Spanned {
// Required methods
fn kind(&self) -> Check;
fn apply_dyn<'input>(
&self,
context: &mut dyn Context<'input, '_>,
) -> DiagResult<Matches<'input>>;
}