1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::Span; use super::scrutinee::Scrutinee; #[derive(Debug, Clone)] pub(crate) enum MatchCondition<'sc> { CatchAll(CatchAll<'sc>), Scrutinee(Scrutinee<'sc>), } #[derive(Debug, Clone)] pub struct CatchAll<'sc> { pub span: Span<'sc>, }