Files
revive/crates/solidity/src/yul/lexer/error.rs
T
xermicus 426f673b0a use normal style for comments
Signed-off-by: xermicus <cyrill@parity.io>
2024-05-01 16:12:32 +02:00

17 lines
440 B
Rust

//! The Yul IR lexer error.
use crate::yul::lexer::token::location::Location;
/// The Yul IR lexer error.
#[derive(Debug, thiserror::Error, PartialEq, Eq)]
pub enum Error {
/// The invalid lexeme error.
#[error("{location} Invalid character sequence `{sequence}`")]
InvalidLexeme {
/// The lexeme location.
location: Location,
/// The invalid sequence of characters.
sequence: String,
},
}