cairo-lang-parser 2.9.3

Cairo parser.
Documentation
//! > Test modifier followed by path.

//! > test_runner_name
get_diagnostics

//! > cairo_code
fn f() {
    let ref abc::def = 5;
    let A { x
    let x = 5;
}

//! > expected_diagnostics
error: Missing token TerminalEq.
 --> dummy_file.cairo:2:16
    let ref abc::def = 5;
               ^

error: Missing tokens. Expected an expression.
 --> dummy_file.cairo:2:16
    let ref abc::def = 5;
               ^

error: Missing token TerminalSemicolon.
 --> dummy_file.cairo:2:16
    let ref abc::def = 5;
               ^

error: Skipped tokens. Expected: statement.
 --> dummy_file.cairo:2:16
    let ref abc::def = 5;
               ^^

error: Missing token TerminalRBrace.
 --> dummy_file.cairo:3:14
    let A { x
             ^

error: Missing token TerminalEq.
 --> dummy_file.cairo:3:14
    let A { x
             ^

error: Missing tokens. Expected an expression.
 --> dummy_file.cairo:3:14
    let A { x
             ^

error: Missing token TerminalSemicolon.
 --> dummy_file.cairo:3:14
    let A { x
             ^