// we can't use a slice because Visitor requires a &Program.
we can't use a slice because Visitor requires a &Program.
we can ' t use a slice because Visitor requires a &Program .
pub fn check_splices(program: &Program<(), ()>) -> Vec<SyntaxError> {
    let mut checker = Checker { errors: vec![] };
    visit(&mut checker, &mut (), program).expect("Unexpected error when checking nested splices");
    checker.errors
}
pub fn check_splices ( program : & Program < ( ) , ( ) > ) -> Vec < SyntaxError > { let mut checker = Checker { errors : vec ! [ ] } ; visit ( & mut checker , & mut ( ) , program ) . expect ( " " ) ; checker . errors }
we can't use a slice because Visitor requires a &Program.
we can ' t use a slice because Visitor requires a &Program .
program
&Program<(), ()>