pub enum Warning<'e> {
ShouldBeCapitalized(Pair<'e, Rule>),
ShouldBeLowercase(Pair<'e, Rule>),
}Expand description
Some warning emited during the expression parsing. These warning are not critical and the expression will be parsed with no ambuiguity.
Variants§
ShouldBeCapitalized(Pair<'e, Rule>)
The literal should be capitalized
ShouldBeLowercase(Pair<'e, Rule>)
The literal should be lowercase
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'e> !Send for Warning<'e>
impl<'e> !Sync for Warning<'e>
impl<'e> Freeze for Warning<'e>
impl<'e> RefUnwindSafe for Warning<'e>
impl<'e> Unpin for Warning<'e>
impl<'e> UnsafeUnpin for Warning<'e>
impl<'e> UnwindSafe for Warning<'e>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more