use core::fmt::Display; use std::path::PathBuf; use thiserror::Error;
// Some of the elaborate cases from the rcc codebase, which is a C compiler in // Rust. https://github.com/jyn514/rcc/blob/0.8.0/src/data/error.rs #[derive(Error, Debug)] pubenum CompilerError { #[error("cannot shift {} by {maximum} or more bits (got {current})", if *.is_left { "left" } else { "right" })]
TooManyShiftBits {
is_left: bool,
maximum: u64,
current: u64,
},
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.