Struct parol::analysis::lalr1_parse_table::LRConflictError
source · pub struct LRConflictError {
pub conflict: LRConflict,
/* private fields */
}
Expand description
An error that occurs when a LALR(1) parse table conflict is detected.
It supports better diagnostics than the plain LRConflict
.
Fields§
§conflict: LRConflict
The conflict that occurred.
Implementations§
Trait Implementations§
source§impl Debug for LRConflictError
impl Debug for LRConflictError
source§impl Display for LRConflictError
impl Display for LRConflictError
source§impl From<LRConflict> for LRConflictError
impl From<LRConflict> for LRConflictError
source§fn from(conflict: LRConflict) -> Self
fn from(conflict: LRConflict) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LRConflictError
impl RefUnwindSafe for LRConflictError
impl Send for LRConflictError
impl Sync for LRConflictError
impl Unpin for LRConflictError
impl UnwindSafe for LRConflictError
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