ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit

This commit is contained in:
Veetaha 2020-02-17 23:14:31 +02:00
parent cd8e56c580
commit fc5e7b8807
46 changed files with 242 additions and 242 deletions

View File

@ -31,4 +31,4 @@ SOURCE_FILE@[0; 34)
IDENT@[29; 32) "u32"
WHITESPACE@[32; 33) "\n"
R_CURLY@[33; 34) "}"
error [21; 22): expected COMMA
error [21; 21): expected COMMA

View File

@ -14,5 +14,5 @@ SOURCE_FILE@[0; 21)
RECORD_FIELD_DEF_LIST@[19; 21)
L_CURLY@[19; 20) "{"
R_CURLY@[20; 21) "}"
error [0; 1): expected an item
error [3; 4): expected an item
error [0; 0): expected an item
error [3; 3): expected an item

View File

@ -26,14 +26,14 @@ SOURCE_FILE@[0; 42)
NAME@[36; 41)
IDENT@[36; 41) "rusti"
WHITESPACE@[41; 42) "\n"
error [23; 24): expected `[`
error [23; 24): expected an item
error [27; 28): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [28; 29): expected SEMI
error [31; 32): expected EXCL
error [31; 32): expected `{`, `[`, `(`
error [31; 32): expected SEMI
error [31; 32): expected an item
error [35; 36): expected EXCL
error [41; 42): expected `{`, `[`, `(`
error [41; 42): expected SEMI
error [23; 23): expected `[`
error [23; 23): expected an item
error [27; 27): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [28; 28): expected SEMI
error [31; 31): expected EXCL
error [31; 31): expected `{`, `[`, `(`
error [31; 31): expected SEMI
error [31; 31): expected an item
error [35; 35): expected EXCL
error [41; 41): expected `{`, `[`, `(`
error [41; 41): expected SEMI

View File

@ -35,5 +35,5 @@ SOURCE_FILE@[0; 40)
R_CURLY@[38; 39) "}"
ERROR@[39; 40)
SEMI@[39; 40) ";"
error [39; 40): expected item, found `;`
error [39; 39): expected item, found `;`
consider removing this semicolon

View File

@ -13,4 +13,4 @@ SOURCE_FILE@[0; 12)
ERROR@[9; 11)
INT_NUMBER@[9; 11) "92"
SEMI@[11; 12) ";"
error [9; 10): expected identifier
error [9; 9): expected identifier

View File

@ -55,6 +55,6 @@ SOURCE_FILE@[0; 54)
WHITESPACE@[51; 52) "\n"
R_CURLY@[52; 53) "}"
WHITESPACE@[53; 54) "\n"
error [53; 54): expected R_PAREN
error [53; 54): expected `]`
error [53; 54): expected an item
error [53; 53): expected R_PAREN
error [53; 53): expected `]`
error [53; 53): expected an item

View File

@ -64,11 +64,11 @@ SOURCE_FILE@[0; 74)
WHITESPACE@[71; 72) "\n"
R_CURLY@[72; 73) "}"
WHITESPACE@[73; 74) "\n"
error [31; 32): expected field declaration
error [33; 34): expected COMMA
error [38; 39): expected field declaration
error [39; 40): expected COMMA
error [40; 41): expected field declaration
error [41; 42): expected COMMA
error [42; 43): expected field declaration
error [43; 44): expected COMMA
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

View File

@ -28,6 +28,6 @@ SOURCE_FILE@[0; 31)
ERROR@[29; 30)
R_CURLY@[29; 30) "}"
WHITESPACE@[30; 31) "\n"
error [0; 1): unmatched `}`
error [14; 15): unmatched `}`
error [29; 30): unmatched `}`
error [0; 0): unmatched `}`
error [14; 14): unmatched `}`
error [29; 29): unmatched `}`

View File

@ -76,6 +76,6 @@ SOURCE_FILE@[0; 95)
WHITESPACE@[92; 93) "\n"
R_CURLY@[93; 94) "}"
WHITESPACE@[94; 95) "\n"
error [17; 18): expected EXCL
error [19; 20): expected SEMI
error [20; 21): expected an item
error [17; 17): expected EXCL
error [19; 19): expected SEMI
error [20; 20): expected an item

View File

@ -45,14 +45,14 @@ SOURCE_FILE@[0; 43)
IDENT@[40; 41) "T"
SEMI@[41; 42) ";"
WHITESPACE@[42; 43) "\n"
error [9; 10): expected type parameter
error [11; 12): expected COMMA
error [11; 12): expected R_ANGLE
error [11; 12): expected `;`, `{`, or `(`
error [12; 13): expected an item
error [14; 15): expected an item
error [15; 16): expected an item
error [17; 18): expected an item
error [24; 25): expected SEMI
error [24; 25): expected expression
error [25; 26): expected SEMI
error [9; 9): expected type parameter
error [11; 11): expected COMMA
error [11; 11): expected R_ANGLE
error [11; 11): expected `;`, `{`, or `(`
error [12; 12): expected an item
error [14; 14): expected an item
error [15; 15): expected an item
error [17; 17): expected an item
error [24; 24): expected SEMI
error [24; 24): expected expression
error [25; 25): expected SEMI

View File

@ -40,4 +40,4 @@ SOURCE_FILE@[0; 42)
WHITESPACE@[39; 40) "\n"
R_CURLY@[40; 41) "}"
WHITESPACE@[41; 42) "\n"
error [24; 25): expected `{`
error [24; 24): expected `{`

View File

@ -10,4 +10,4 @@ SOURCE_FILE@[0; 19)
IDENT@[14; 17) "Foo"
SEMI@[17; 18) ";"
WHITESPACE@[18; 19) "\n"
error [6; 7): expected existential, fn, trait or impl
error [6; 6): expected existential, fn, trait or impl

View File

@ -69,21 +69,21 @@ SOURCE_FILE@[0; 86)
ERROR@[83; 84)
SEMI@[83; 84) ";"
WHITESPACE@[84; 86) "\n\n"
error [67; 68): expected type
error [68; 69): expected COMMA
error [68; 69): expected R_ANGLE
error [68; 69): expected COMMA
error [68; 69): expected R_ANGLE
error [68; 69): expected COMMA
error [68; 69): expected R_ANGLE
error [68; 69): expected COMMA
error [72; 73): expected COMMA
error [72; 73): expected a type
error [72; 73): expected R_PAREN
error [72; 73): expected SEMI
error [72; 73): expected an item
error [73; 74): expected an item
error [79; 80): expected an item
error [80; 81): expected an item
error [82; 83): expected an item
error [83; 84): expected an item
error [67; 67): expected type
error [68; 68): expected COMMA
error [68; 68): expected R_ANGLE
error [68; 68): expected COMMA
error [68; 68): expected R_ANGLE
error [68; 68): expected COMMA
error [68; 68): expected R_ANGLE
error [68; 68): expected COMMA
error [72; 72): expected COMMA
error [72; 72): expected a type
error [72; 72): expected R_PAREN
error [72; 72): expected SEMI
error [72; 72): expected an item
error [73; 73): expected an item
error [79; 79): expected an item
error [80; 80): expected an item
error [82; 82): expected an item
error [83; 83): expected an item

View File

@ -29,4 +29,4 @@ SOURCE_FILE@[0; 23)
L_CURLY@[20; 21) "{"
R_CURLY@[21; 22) "}"
WHITESPACE@[22; 23) "\n"
error [19; 20): expected colon
error [19; 19): expected colon

View File

@ -16,9 +16,9 @@ SOURCE_FILE@[0; 14)
WHITESPACE@[11; 12) "\n"
R_CURLY@[12; 13) "}"
WHITESPACE@[13; 14) "\n"
error [7; 8): expected value parameter
error [7; 8): expected R_PAREN
error [7; 8): expected a block
error [7; 8): unmatched `}`
error [8; 9): expected an item
error [10; 11): expected an item
error [7; 7): expected value parameter
error [7; 7): expected R_PAREN
error [7; 7): expected a block
error [7; 7): unmatched `}`
error [8; 8): expected an item
error [10; 10): expected an item

View File

@ -41,4 +41,4 @@ SOURCE_FILE@[0; 56)
WHITESPACE@[53; 54) "\n"
R_CURLY@[54; 55) "}"
WHITESPACE@[55; 56) "\n"
error [38; 39): expected SEMI
error [38; 38): expected SEMI

View File

@ -44,4 +44,4 @@ SOURCE_FILE@[0; 47)
WHITESPACE@[44; 45) "\n"
R_CURLY@[45; 46) "}"
WHITESPACE@[46; 47) "\n"
error [44; 45): expected expression
error [44; 44): expected expression

View File

@ -125,8 +125,8 @@ SOURCE_FILE@[0; 183)
WHITESPACE@[180; 181) "\n"
R_CURLY@[181; 182) "}"
WHITESPACE@[182; 183) "\n"
error [34; 35): expected pattern
error [34; 35): expected COLON
error [34; 35): expected type
error [180; 181): expected function arguments
error [180; 181): expected a block
error [34; 34): expected pattern
error [34; 34): expected COLON
error [34; 34): expected type
error [180; 180): expected function arguments
error [180; 180): expected a block

View File

@ -95,13 +95,13 @@ SOURCE_FILE@[0; 139)
WHITESPACE@[136; 137) "\n"
R_CURLY@[137; 138) "}"
WHITESPACE@[138; 139) "\n"
error [24; 25): expected expression
error [24; 25): expected SEMI
error [49; 50): expected pattern
error [49; 50): expected SEMI
error [75; 76): expected pattern
error [75; 76): expected SEMI
error [98; 99): expected pattern
error [98; 99): expected SEMI
error [124; 125): expected pattern
error [124; 125): expected SEMI
error [24; 24): expected expression
error [24; 24): expected SEMI
error [49; 49): expected pattern
error [49; 49): expected SEMI
error [75; 75): expected pattern
error [75; 75): expected SEMI
error [98; 98): expected pattern
error [98; 98): expected SEMI
error [124; 124): expected pattern
error [124; 124): expected SEMI

View File

@ -16,6 +16,6 @@ SOURCE_FILE@[0; 16)
L_CURLY@[13; 14) "{"
R_CURLY@[14; 15) "}"
WHITESPACE@[15; 16) "\n"
error [2; 3): expected a name
error [2; 3): expected function arguments
error [2; 3): expected a block
error [2; 2): expected a name
error [2; 2): expected function arguments
error [2; 2): expected a block

View File

@ -31,5 +31,5 @@ SOURCE_FILE@[0; 22)
WHITESPACE@[19; 20) "\n"
R_CURLY@[20; 21) "}"
WHITESPACE@[21; 22) "\n"
error [16; 17): expected COLON
error [16; 17): expected type
error [16; 16): expected COLON
error [16; 16): expected type

View File

@ -148,36 +148,36 @@ SOURCE_FILE@[0; 112)
WHITESPACE@[109; 110) " "
R_CURLY@[110; 111) "}"
WHITESPACE@[111; 112) "\n"
error [16; 17): expected expression
error [17; 18): expected R_BRACK
error [17; 18): expected SEMI
error [17; 18): expected expression
error [18; 19): expected SEMI
error [25; 26): expected a name
error [26; 27): expected `;`, `{`, or `(`
error [30; 31): expected pattern
error [31; 32): expected SEMI
error [53; 54): expected expression
error [54; 55): expected SEMI
error [54; 55): expected expression
error [55; 56): expected SEMI
error [60; 61): expected type
error [60; 61): expected `{`
error [60; 61): expected expression
error [61; 62): expected SEMI
error [65; 66): expected pattern
error [65; 66): expected SEMI
error [65; 66): expected expression
error [92; 93): expected expression
error [93; 94): expected SEMI
error [93; 94): expected expression
error [94; 95): expected SEMI
error [95; 96): expected expression
error [96; 97): expected SEMI
error [96; 97): expected expression
error [97; 98): expected SEMI
error [103; 104): expected a name
error [104; 105): expected `{`
error [108; 109): expected pattern
error [108; 109): expected SEMI
error [108; 109): expected expression
error [16; 16): expected expression
error [17; 17): expected R_BRACK
error [17; 17): expected SEMI
error [17; 17): expected expression
error [18; 18): expected SEMI
error [25; 25): expected a name
error [26; 26): expected `;`, `{`, or `(`
error [30; 30): expected pattern
error [31; 31): expected SEMI
error [53; 53): expected expression
error [54; 54): expected SEMI
error [54; 54): expected expression
error [55; 55): expected SEMI
error [60; 60): expected type
error [60; 60): expected `{`
error [60; 60): expected expression
error [61; 61): expected SEMI
error [65; 65): expected pattern
error [65; 65): expected SEMI
error [65; 65): expected expression
error [92; 92): expected expression
error [93; 93): expected SEMI
error [93; 93): expected expression
error [94; 94): expected SEMI
error [95; 95): expected expression
error [96; 96): expected SEMI
error [96; 96): expected expression
error [97; 97): expected SEMI
error [103; 103): expected a name
error [104; 104): expected `{`
error [108; 108): expected pattern
error [108; 108): expected SEMI
error [108; 108): expected expression

View File

@ -40,5 +40,5 @@ SOURCE_FILE@[0; 94)
ERROR@[92; 93)
R_CURLY@[92; 93) "}"
WHITESPACE@[93; 94) "\n"
error [49; 50): unmatched `}`
error [92; 93): unmatched `}`
error [49; 49): unmatched `}`
error [92; 92): unmatched `}`

View File

@ -290,32 +290,32 @@ SOURCE_FILE@[0; 240)
WHITESPACE@[237; 238) "\n"
R_CURLY@[238; 239) "}"
WHITESPACE@[239; 240) "\n"
error [88; 89): expected COMMA
error [88; 89): expected R_ANGLE
error [121; 122): expected SEMI
error [121; 122): expected expression
error [140; 141): expected type
error [141; 142): expected R_PAREN
error [141; 142): expected COMMA
error [141; 142): expected R_ANGLE
error [141; 142): expected SEMI
error [146; 147): expected SEMI
error [146; 147): expected expression
error [147; 148): expected SEMI
error [148; 149): expected expression
error [149; 150): expected SEMI
error [154; 155): expected pattern
error [155; 156): expected IN_KW
error [155; 156): expected expression
error [157; 158): expected a block
error [165; 166): expected expression
error [168; 169): expected expression
error [179; 180): expected expression
error [180; 181): expected COMMA
error [180; 181): expected expression
error [180; 181): expected R_PAREN
error [180; 181): expected SEMI
error [215; 216): expected COMMA
error [215; 216): expected R_ANGLE
error [235; 236): expected SEMI
error [235; 236): expected expression
error [88; 88): expected COMMA
error [88; 88): expected R_ANGLE
error [121; 121): expected SEMI
error [121; 121): expected expression
error [140; 140): expected type
error [141; 141): expected R_PAREN
error [141; 141): expected COMMA
error [141; 141): expected R_ANGLE
error [141; 141): expected SEMI
error [146; 146): expected SEMI
error [146; 146): expected expression
error [147; 147): expected SEMI
error [148; 148): expected expression
error [149; 149): expected SEMI
error [154; 154): expected pattern
error [155; 155): expected IN_KW
error [155; 155): expected expression
error [157; 157): expected a block
error [165; 165): expected expression
error [168; 168): expected expression
error [179; 179): expected expression
error [180; 180): expected COMMA
error [180; 180): expected expression
error [180; 180): expected R_PAREN
error [180; 180): expected SEMI
error [215; 215): expected COMMA
error [215; 215): expected R_ANGLE
error [235; 235): expected SEMI
error [235; 235): expected expression

View File

@ -191,14 +191,14 @@ SOURCE_FILE@[0; 575)
WHITESPACE@[572; 573) "\n"
R_CURLY@[573; 574) "}"
WHITESPACE@[574; 575) "\n"
error [95; 96): expected type
error [95; 96): expected COMMA
error [96; 97): expected field
error [98; 99): expected field declaration
error [371; 372): expected COMMA
error [372; 373): expected a type
error [372; 373): expected R_PAREN
error [372; 373): expected COMMA
error [372; 373): expected enum variant
error [374; 375): expected enum variant
error [508; 509): expected expression
error [95; 95): expected type
error [95; 95): expected COMMA
error [96; 96): expected field
error [98; 98): expected field declaration
error [371; 371): expected COMMA
error [372; 372): expected a type
error [372; 372): expected R_PAREN
error [372; 372): expected COMMA
error [372; 372): expected enum variant
error [374; 374): expected enum variant
error [508; 508): expected expression

View File

@ -45,5 +45,5 @@ SOURCE_FILE@[0; 38)
L_CURLY@[35; 36) "{"
R_CURLY@[36; 37) "}"
WHITESPACE@[37; 38) "\n"
error [14; 15): expected trait or type
error [14; 15): expected `{`
error [14; 14): expected trait or type
error [14; 14): expected `{`

View File

@ -25,5 +25,5 @@ SOURCE_FILE@[0; 30)
L_CURLY@[27; 28) "{"
R_CURLY@[28; 29) "}"
WHITESPACE@[29; 30) "\n"
error [26; 27): expected a path
error [26; 27): expected colon
error [26; 26): expected a path
error [26; 26): expected colon

View File

@ -33,4 +33,4 @@ SOURCE_FILE@[0; 24)
WHITESPACE@[21; 22) "\n"
R_CURLY@[22; 23) "}"
WHITESPACE@[23; 24) "\n"
error [21; 22): expected field name or number
error [21; 21): expected field name or number

View File

@ -191,14 +191,14 @@ SOURCE_FILE@[0; 293)
WHITESPACE@[290; 291) "\n"
R_CURLY@[291; 292) "}"
WHITESPACE@[292; 293) "\n"
error [52; 53): expected `[`
error [52; 53): expected pattern
error [53; 54): expected FAT_ARROW
error [78; 79): expected COMMA
error [161; 162): expected `[`
error [161; 162): expected pattern
error [162; 163): expected FAT_ARROW
error [232; 233): expected `[`
error [232; 233): expected pattern
error [233; 234): expected FAT_ARROW
error [250; 251): expected COMMA
error [52; 52): expected `[`
error [52; 52): expected pattern
error [53; 53): expected FAT_ARROW
error [78; 78): expected COMMA
error [161; 161): expected `[`
error [161; 161): expected pattern
error [162; 162): expected FAT_ARROW
error [232; 232): expected `[`
error [232; 232): expected pattern
error [233; 233): expected FAT_ARROW
error [250; 250): expected COMMA

View File

@ -62,6 +62,6 @@ SOURCE_FILE@[0; 89)
WHITESPACE@[86; 87) "\n"
R_CURLY@[87; 88) "}"
WHITESPACE@[88; 89) "\n"
error [80; 81): expected pattern
error [80; 81): expected FAT_ARROW
error [80; 81): expected expression
error [80; 80): expected pattern
error [80; 80): expected FAT_ARROW
error [80; 80): expected expression

View File

@ -88,9 +88,9 @@ SOURCE_FILE@[0; 91)
WHITESPACE@[87; 88) "\n"
R_CURLY@[88; 89) "}"
WHITESPACE@[89; 91) "\n\n"
error [24; 25): expected a name
error [27; 28): expected SEMI
error [48; 49): expected a name
error [51; 52): expected SEMI
error [76; 77): expected a name
error [79; 80): expected SEMI
error [24; 24): expected a name
error [27; 27): expected SEMI
error [48; 48): expected a name
error [51; 51): expected SEMI
error [76; 76): expected a name
error [79; 79): expected SEMI

View File

@ -48,7 +48,7 @@ SOURCE_FILE@[0; 48)
L_CURLY@[45; 46) "{"
R_CURLY@[46; 47) "}"
WHITESPACE@[47; 48) "\n"
error [17; 18): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [17; 18): expected SEMI
error [37; 38): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [37; 38): expected SEMI
error [17; 17): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [17; 17): expected SEMI
error [37; 37): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [37; 37): expected SEMI

View File

@ -39,13 +39,13 @@ SOURCE_FILE@[0; 37)
ERROR@[35; 36)
SEMI@[35; 36) ";"
WHITESPACE@[36; 37) "\n"
error [22; 23): expected COMMA
error [22; 23): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [23; 24): expected COMMA
error [24; 25): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [27; 28): expected COMMA
error [35; 36): expected COMMA
error [35; 36): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [36; 37): expected COMMA
error [36; 37): expected R_CURLY
error [36; 37): expected SEMI
error [22; 22): expected COMMA
error [22; 22): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [23; 23): expected COMMA
error [24; 24): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [27; 27): expected COMMA
error [35; 35): expected COMMA
error [35; 35): expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error [36; 36): expected COMMA
error [36; 36): expected R_CURLY
error [36; 36): expected SEMI

View File

@ -80,4 +80,4 @@ SOURCE_FILE@[0; 83)
WHITESPACE@[80; 81) "\n"
R_CURLY@[81; 82) "}"
WHITESPACE@[82; 83) "\n"
error [56; 57): expected expression
error [56; 56): expected expression

View File

@ -20,8 +20,8 @@ SOURCE_FILE@[0; 18)
ERROR@[16; 17)
SEMI@[16; 17) ";"
WHITESPACE@[17; 18) "\n"
error [12; 13): expected `;` or `]`
error [12; 13): expected SEMI
error [13; 14): expected an item
error [15; 16): expected an item
error [16; 17): expected an item
error [12; 12): expected `;` or `]`
error [12; 12): expected SEMI
error [13; 13): expected an item
error [15; 15): expected an item
error [16; 16): expected an item

View File

@ -23,7 +23,7 @@ SOURCE_FILE@[0; 30)
WHITESPACE@[27; 28) "\n"
R_CURLY@[28; 29) "}"
WHITESPACE@[29; 30) "\n"
error [22; 23): expected a loop
error [22; 23): expected SEMI
error [27; 28): expected type
error [27; 28): expected `{`
error [22; 22): expected a loop
error [22; 22): expected SEMI
error [27; 27): expected type
error [27; 27): expected `{`

View File

@ -14,4 +14,4 @@ SOURCE_FILE@[0; 14)
R_PAREN@[11; 12) ")"
SEMI@[12; 13) ";"
WHITESPACE@[13; 14) "\n"
error [10; 11): expected mut or const in raw pointer type (use `*mut T` or `*const T` as appropriate)
error [10; 10): expected mut or const in raw pointer type (use `*mut T` or `*const T` as appropriate)

View File

@ -73,7 +73,7 @@ SOURCE_FILE@[0; 87)
L_CURLY@[84; 85) "{"
R_CURLY@[85; 86) "}"
WHITESPACE@[86; 87) "\n"
error [38; 39): expected trait or type
error [38; 39): expected `{`
error [70; 71): expected trait or type
error [70; 71): expected `{`
error [38; 38): expected trait or type
error [38; 38): expected `{`
error [70; 70): expected trait or type
error [70; 70): expected `{`

View File

@ -16,8 +16,8 @@ SOURCE_FILE@[0; 20)
ERROR@[18; 19)
SEMI@[18; 19) ";"
WHITESPACE@[19; 20) "\n"
error [15; 16): expected `fn`
error [15; 16): expected SEMI
error [16; 17): expected an item
error [17; 18): expected an item
error [18; 19): expected an item
error [15; 15): expected `fn`
error [15; 15): expected SEMI
error [16; 16): expected an item
error [17; 17): expected an item
error [18; 18): expected an item

View File

@ -33,5 +33,5 @@ SOURCE_FILE@[0; 33)
L_CURLY@[30; 31) "{"
R_CURLY@[31; 32) "}"
WHITESPACE@[32; 33) "\n"
error [11; 12): expected an item
error [18; 19): expected an item
error [11; 11): expected an item
error [18; 18): expected an item

View File

@ -29,4 +29,4 @@ SOURCE_FILE@[0; 30)
WHITESPACE@[27; 28) " "
R_CURLY@[28; 29) "}"
WHITESPACE@[29; 30) "\n"
error [27; 28): expected SEMI
error [27; 27): expected SEMI

View File

@ -23,4 +23,4 @@ SOURCE_FILE@[0; 21)
WHITESPACE@[18; 19) " "
R_CURLY@[19; 20) "}"
WHITESPACE@[20; 21) "\n"
error [14; 15): expected an item
error [14; 14): expected an item

View File

@ -57,5 +57,5 @@ SOURCE_FILE@[0; 48)
WHITESPACE@[45; 46) "\n"
R_CURLY@[46; 47) "}"
WHITESPACE@[47; 48) "\n"
error [24; 25): attributes are not allowed on BIN_EXPR
error [44; 45): attributes are not allowed on IF_EXPR
error [24; 24): attributes are not allowed on BIN_EXPR
error [44; 44): attributes are not allowed on IF_EXPR

View File

@ -37,5 +37,5 @@ SOURCE_FILE@[0; 50)
L_CURLY@[47; 48) "{"
R_CURLY@[48; 49) "}"
WHITESPACE@[49; 50) "\n"
error 6: expected existential, fn, trait or impl
error 31: expected existential, fn, trait or impl
error [6; 6): expected existential, fn, trait or impl
error [31; 31): expected existential, fn, trait or impl

View File

@ -18,4 +18,4 @@ SOURCE_FILE@[0; 19)
INT_NUMBER@[16; 17) "5"
SEMI@[17; 18) ";"
WHITESPACE@[18; 19) "\n"
error [7; 8): expected a name
error [7; 7): expected a name

View File

@ -51,9 +51,9 @@ SOURCE_FILE@[0; 62)
WHITESPACE@[59; 60) "\n"
R_CURLY@[60; 61) "}"
WHITESPACE@[61; 62) "\n"
error [21; 22): expected EXCL
error [21; 22): expected `{`, `[`, `(`
error [21; 22): expected SEMI
error [47; 48): expected EXCL
error [47; 48): expected `{`, `[`, `(`
error [47; 48): expected SEMI
error [21; 21): expected EXCL
error [21; 21): expected `{`, `[`, `(`
error [21; 21): expected SEMI
error [47; 47): expected EXCL
error [47; 47): expected `{`, `[`, `(`
error [47; 47): expected SEMI