pub struct CompilerMessage { /* private fields */ }
Expand description
Describes the location and nature of a compiler message.
Gets the position in the source where the message was triggered.
Gets the severity of the message.
Gets a reference to the problem variant triggering the message.
Consumes the CompilerMessage
and returns its position and info as a tuple.
Gets the message code associated with the message.
Gets a message describing the error.
Gets the inline message text, usually used to annotate the span.
Gets the hint text associated with the message.
Returns true if the message is an error.
Returns true if the message is a warning.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,