aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/err/0006_named_field_recovery.rast
blob: 5f85c3943ab9c95cdf531001ec28745eaa480a8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[email protected]
  [email protected]
    [email protected] "struct"
    [email protected] " "
    [email protected]
      [email protected] "S"
    [email protected] " "
    [email protected]
      [email protected] "{"
      [email protected] "\n    "
      [email protected]
        [email protected]
          [email protected] "f"
        [email protected] ":"
        [email protected] " "
        [email protected]
          [email protected]
            [email protected]
              [email protected]
                [email protected] "u32"
      [email protected] ","
      [email protected] "\n    "
      [email protected]
        [email protected] "pub"
      [email protected] " "
      [email protected]
        [email protected] "92"
      [email protected] "\n    "
      [email protected]
        [email protected] "+"
      [email protected] " "
      [email protected]
        [email protected] "-"
      [email protected] " "
      [email protected]
        [email protected] "*"
      [email protected] "\n    "
      [email protected]
        [email protected]
          [email protected] "pub"
        [email protected] " "
        [email protected]
          [email protected] "x"
        [email protected] ":"
        [email protected] " "
        [email protected]
          [email protected]
            [email protected]
              [email protected]
                [email protected] "u32"
      [email protected] ","
      [email protected] "\n    "
      [email protected]
        [email protected]
          [email protected] "z"
        [email protected] ":"
        [email protected] " "
        [email protected]
          [email protected]
            [email protected]
              [email protected]
                [email protected] "f64"
      [email protected] ","
      [email protected] "\n"
      [email protected] "}"
  [email protected] "\n"
error 31..31: expected field declaration
error 33..33: expected COMMA
error 38..38: expected field declaration
error 39..39: expected COMMA
error 40..40: expected field declaration
error 41..41: expected COMMA
error 42..42: expected field declaration
error 43..43: expected COMMA