pub enum Error<T>where
T: Clone + Copy + PartialEq<T>,{
Expected(T, Span<T>),
ExpectedIn(Vec<T, Global>, Span<T>),
}
Expand description
Indicates that a particular kind of token was expected, but that we actually found something else.
pub enum Error<T>where
T: Clone + Copy + PartialEq<T>,{
Expected(T, Span<T>),
ExpectedIn(Vec<T, Global>, Span<T>),
}
Indicates that a particular kind of token was expected, but that we actually found something else.