Enum papyri_lang::errors::Warning
source · pub enum Warning {
RedundantOptionType,
NameAlreadyDeclared(Rc<str>),
PatternNameAlreadyBound(Rc<str>),
NameAlreadyExported(Rc<str>),
InlineHighlightEnumerate,
InlineHighlightMultiline,
HighlightNotEnabled,
HighlightLanguageUnknown(Rc<str>),
BrokenLink(Rc<str>),
}
Expand description
Represents a warning which occurs during compilation of a Papyri source file.
Variants§
RedundantOptionType
NameAlreadyDeclared(Rc<str>)
PatternNameAlreadyBound(Rc<str>)
NameAlreadyExported(Rc<str>)
InlineHighlightEnumerate
InlineHighlightMultiline
HighlightNotEnabled
HighlightLanguageUnknown(Rc<str>)
BrokenLink(Rc<str>)
Trait Implementations§
source§impl From<Warning> for PapyriError
impl From<Warning> for PapyriError
source§fn from(e: Warning) -> PapyriError
fn from(e: Warning) -> PapyriError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Warning
impl !Send for Warning
impl !Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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