macro_rules! assert_next_matches {
    ($stream:expr, $pat:pat) => { ... };
    ($stream:expr, $pat:pat => $arm:expr) => { ... };
}