fn duplicate_ids(&self, name: &str, pos: &Span, prev: &Span) -> SyntaxError {
        let err_kind = SyntaxErrorKind::DuplicateIdent {
            first: Item::new(prev, name),
            second: Item::new(pos, name),
        };

        SyntaxError::new(err_kind)
    }
/// Create a duplicate identifier error.
Create a duplicate identifier error.
Create a duplicate identifier error .
fn duplicate_ids(&self, name: &str, pos: &Span, prev: &Span) -> SyntaxError {
        let err_kind = SyntaxErrorKind::DuplicateIdent {
            first: Item::new(prev, name),
            second: Item::new(pos, name),
        };
        SyntaxError::new(err_kind)
    }
fn duplicate_ids ( & self , name : & str , pos : & Span , prev : & Span ) -> SyntaxError { let err_kind = SyntaxErrorKind :: DuplicateIdent { first : Item :: new ( prev , name ) , second : Item :: new ( pos , name ) , } ; SyntaxError :: new ( err_kind ) }
Create a duplicate identifier error.
Create a duplicate identifier error .
&self
name
&str
pos
&Span
prev
&Span