[][src]Struct libslide::partial_evaluator::errors::MaybeIncompatibleDefinitions

pub(crate) struct MaybeIncompatibleDefinitions;

This warning is fired on variable definitions that may be incompatible. For example, given the program

a := b
a := 2*b

The definitions of "a" are maybe-incompatible; in particular, they are compatible iff "b := 0". This ambiguity is considered error-prone because it does not clearly communicate intent of the definitions, and there is no information to validate the soundness of a program in such a state.

The behavior of maybe-incompatible definitions is considered undefined behavior.

Trait Implementations

impl DiagnosticRecord for MaybeIncompatibleDefinitions[src]

Auto Trait Implementations

impl RefUnwindSafe for MaybeIncompatibleDefinitions

impl Send for MaybeIncompatibleDefinitions

impl Sync for MaybeIncompatibleDefinitions

impl Unpin for MaybeIncompatibleDefinitions

impl UnwindSafe for MaybeIncompatibleDefinitions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.