Enum ruxnasm::Warning [−][src]
pub enum Warning { TokenTrimmed { span: Range<usize>, }, InstructionModeDefinedMoreThanOnce { instruction_mode: char, instruction: String, span: Range<usize>, other_span: Range<usize>, }, MacroUnused { name: String, span: Range<usize>, }, LabelUnused { name: String, span: Range<usize>, }, }
Expand description
Enum representing every warning that can be reported from Ruxnasm.
Variants
This warnings gets reported when a token is longer than 64 characters and must be cut off.
Example
@a-really-long-label-name-like-seriously-this-is-so-long-why-would-anyone-do-this
This warning gets reported when an instruction mode is defined multiple times for a single instruction, which is valid, but unnecessary.
Example
ADD2k2
Show fields
Fields of InstructionModeDefinedMoreThanOnce
Show fields
Show fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Warning
impl UnwindSafe for Warning
Blanket Implementations
Mutably borrows from an owned value. Read more