pub fn new(message: impl Into<String>, pos: Pos) -> Self {
        Self {
            pos,
            message: message.into(),
        }
    }
/// Create a new error with the given position and message.
Create a new error with the given position and message.
Create a new error with the given position and message .
pub fn new(message: impl Into<String>, pos: Pos) -> Self {
        Self {
            pos,
            message: message.into(),
        }
    }
pub fn new ( message : impl Into < String > , pos : Pos ) -> Self { Self { pos , message : message . into ( ) , } }
Create a new error with the given position and message.
Create a new error with the given position and message .
message
impl Into<String>
pos
Pos
message
impl Into<String>
pos
Pos