diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs | 2 | ||||
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.txt | 46 |
2 files changed, 24 insertions, 24 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs index 8583ede05..723d868ee 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs +++ b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs | |||
@@ -1,2 +1,2 @@ | |||
1 | extern "C" { fn printf(format: *const i8, ...) -> i32; } | 1 | extern "C" { fn printf(format: *const i8, ...) -> i32; } |
2 | extern "C" { fn printf(#[attr] format: *const i8, ...) -> i32; } | 2 | extern "C" { fn printf(format: *const i8, #[attr] ...) -> i32; } |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.txt b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.txt index 164ead2d8..8a6672781 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.txt | |||
@@ -63,29 +63,29 @@ SOURCE_FILE@[0; 122) | |||
63 | IDENT@[73; 79) "printf" | 63 | IDENT@[73; 79) "printf" |
64 | PARAM_LIST@[79; 111) | 64 | PARAM_LIST@[79; 111) |
65 | L_PAREN@[79; 80) "(" | 65 | L_PAREN@[79; 80) "(" |
66 | ATTR@[80; 87) | 66 | PARAM@[80; 97) |
67 | POUND@[80; 81) "#" | 67 | BIND_PAT@[80; 86) |
68 | TOKEN_TREE@[81; 87) | 68 | NAME@[80; 86) |
69 | L_BRACK@[81; 82) "[" | 69 | IDENT@[80; 86) "format" |
70 | IDENT@[82; 86) "attr" | 70 | COLON@[86; 87) ":" |
71 | R_BRACK@[86; 87) "]" | 71 | WHITESPACE@[87; 88) " " |
72 | WHITESPACE@[87; 88) " " | 72 | POINTER_TYPE@[88; 97) |
73 | PARAM@[88; 105) | 73 | STAR@[88; 89) "*" |
74 | BIND_PAT@[88; 94) | 74 | CONST_KW@[89; 94) "const" |
75 | NAME@[88; 94) | 75 | WHITESPACE@[94; 95) " " |
76 | IDENT@[88; 94) "format" | 76 | PATH_TYPE@[95; 97) |
77 | COLON@[94; 95) ":" | 77 | PATH@[95; 97) |
78 | WHITESPACE@[95; 96) " " | 78 | PATH_SEGMENT@[95; 97) |
79 | POINTER_TYPE@[96; 105) | 79 | NAME_REF@[95; 97) |
80 | STAR@[96; 97) "*" | 80 | IDENT@[95; 97) "i8" |
81 | CONST_KW@[97; 102) "const" | 81 | COMMA@[97; 98) "," |
82 | WHITESPACE@[102; 103) " " | 82 | WHITESPACE@[98; 99) " " |
83 | PATH_TYPE@[103; 105) | 83 | ATTR@[99; 106) |
84 | PATH@[103; 105) | 84 | POUND@[99; 100) "#" |
85 | PATH_SEGMENT@[103; 105) | 85 | TOKEN_TREE@[100; 106) |
86 | NAME_REF@[103; 105) | 86 | L_BRACK@[100; 101) "[" |
87 | IDENT@[103; 105) "i8" | 87 | IDENT@[101; 105) "attr" |
88 | COMMA@[105; 106) "," | 88 | R_BRACK@[105; 106) "]" |
89 | WHITESPACE@[106; 107) " " | 89 | WHITESPACE@[106; 107) " " |
90 | DOTDOTDOT@[107; 110) "..." | 90 | DOTDOTDOT@[107; 110) "..." |
91 | R_PAREN@[110; 111) ")" | 91 | R_PAREN@[110; 111) ")" |