pub struct Conflict {
pub left: GrantAtom,
pub right: GrantAtom,
pub kind: ConflictKind,
}Expand description
The specific pair of atoms that decided the outcome.
Reported so a diagnostic can name the real problem rather than say “these
branches conflict somehow”, and so the compiler can suggest a fix: narrow
one of these two grants, or degrade the par to a seq.
Fields§
§left: GrantAtomThe atom from the left-hand grant set.
right: GrantAtomThe atom from the right-hand grant set.
kind: ConflictKindWhich condition it violates.
Trait Implementations§
impl Eq for Conflict
impl StructuralPartialEq for Conflict
Auto Trait Implementations§
impl Freeze for Conflict
impl RefUnwindSafe for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnsafeUnpin for Conflict
impl UnwindSafe for Conflict
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