pub enum LexIssue {
UnterminatedLiteralString {
at: u64,
},
UnterminatedHexString {
at: u64,
},
UnterminatedComment {
at: u64,
},
}Expand description
A tolerated lexical anomaly. Coverage is still complete when one is present.
Variants§
UnterminatedLiteralString
A ( literal string reached EOF before its matching ).
UnterminatedHexString
A < hex string reached EOF before its closing >.
UnterminatedComment
A % comment reached EOF without a closing CR or LF.
Trait Implementations§
impl Copy for LexIssue
impl Eq for LexIssue
impl StructuralPartialEq for LexIssue
Auto Trait Implementations§
impl Freeze for LexIssue
impl RefUnwindSafe for LexIssue
impl Send for LexIssue
impl Sync for LexIssue
impl Unpin for LexIssue
impl UnsafeUnpin for LexIssue
impl UnwindSafe for LexIssue
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