ra_ap_parser 0.0.327

The Rust parser for rust-analyzer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    let const { 15 } = ();
    let const { foo(); bar() } = ();

    match 42 {
        const { 0 } .. const { 1 } => (),
        .. const { 0 } => (),
        const { 2 } .. => (),
    }

    let (const { () },) = ();
}