pub fn parse_next<T: FnOnce() -> Result<R, Error>, R: Sized>( input: ParseStream<'_>, next: T, ) -> Result<R, Error>