pub enum PreprocessErrorKind {
IncludeNotFound(String),
MalformedDirective(String),
MacroArgMismatch(String),
RecursionLimitExceeded(String),
ConditionalError(String),
Io(Error),
Other(String),
}Expand description
Semantic error kinds that can occur during preprocessing
Variants§
IncludeNotFound(String)
Include file not found
MalformedDirective(String)
Malformed preprocessor directive
MacroArgMismatch(String)
Macro argument count mismatch
RecursionLimitExceeded(String)
Macro expansion recursion limit exceeded
ConditionalError(String)
Conditional compilation error
Io(Error)
I/O error (e.g., file reading/writing)
Other(String)
Other preprocessing error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreprocessErrorKind
impl !RefUnwindSafe for PreprocessErrorKind
impl Send for PreprocessErrorKind
impl Sync for PreprocessErrorKind
impl Unpin for PreprocessErrorKind
impl !UnwindSafe for PreprocessErrorKind
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