pub struct ParserDiagnostic {
pub location: Location,
pub expected: HashSet<&'static str>,
}Fields§
§location: Location§expected: HashSet<&'static str>Trait Implementations§
Source§impl Debug for ParserDiagnostic
impl Debug for ParserDiagnostic
Source§impl From<ParserDiagnostic> for Diagnostic<()>
impl From<ParserDiagnostic> for Diagnostic<()>
Source§fn from(pi: ParserDiagnostic) -> Self
fn from(pi: ParserDiagnostic) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParserDiagnostic
impl PartialEq for ParserDiagnostic
impl StructuralPartialEq for ParserDiagnostic
Auto Trait Implementations§
impl Freeze for ParserDiagnostic
impl RefUnwindSafe for ParserDiagnostic
impl Send for ParserDiagnostic
impl Sync for ParserDiagnostic
impl Unpin for ParserDiagnostic
impl UnwindSafe for ParserDiagnostic
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