pub enum Severity {
Warning,
Error,
}Expand description
Describes the severity of a compiler message.
Variants§
Warning
Advises the user of a potential problem, but still allows compilation to finish.
Error
Advises the user of a problem that prevents the source from compiling.
Trait Implementations§
impl Copy for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnsafeUnpin for Severity
impl UnwindSafe for Severity
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