pub enum PPError {
}Expand description
プリプロセッサエラー
Variants§
InvalidDirective(String)
不正なディレクティブ
MacroRedefinition(String)
マクロの再定義
IncludeNotFound(PathBuf)
インクルードファイルが見つからない
UnmatchedEndif
対応する#ifがない#endif
MissingEndif
対応する#endifがない
InvalidMacroArgs(String)
不正なマクロ引数
IoError(PathBuf, String)
ファイル読み込みエラー
InvalidCondition(String)
#if の条件式エラー
InvalidStringize
不正な#演算子の使用
InvalidTokenPaste
不正な##演算子の使用
RecursiveMacro(String)
再帰的マクロ展開の検出
UnmatchedElse
対応する#elseがない
ElifAfterElse
#elifが#elseの後に出現
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PPError
impl RefUnwindSafe for PPError
impl Send for PPError
impl Sync for PPError
impl Unpin for PPError
impl UnsafeUnpin for PPError
impl UnwindSafe for PPError
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