diff options
author | csmoe <[email protected]> | 2018-09-26 03:01:42 +0100 |
---|---|---|
committer | csmoe <[email protected]> | 2018-09-26 09:53:16 +0100 |
commit | 8b710e95353d9f840f78645c9593a66adb0636b6 (patch) | |
tree | 6a918130bce71b0a4fc331501086d2f65c46a957 /crates/ra_syntax/tests/data/parser/err | |
parent | edf1cc3582a842837d64fa6ec08df00c028521f9 (diff) |
generate testsuite for impl_type
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/err')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.rs | 3 | ||||
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt | 11 |
2 files changed, 6 insertions, 8 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.rs b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.rs index eac922109..829ca1c4b 100644 --- a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.rs +++ b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.rs | |||
@@ -1,3 +1,2 @@ | |||
1 | impl<T: Clone> | 1 | impl<T: Clone> |
2 | impl<T> OnceCell<T> { | 2 | impl<T> OnceCell<T> {} |
3 | } | ||
diff --git a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt index 60337d6de..9e26f58a0 100644 --- a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt +++ b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 39) | 1 | ROOT@[0; 38) |
2 | IMPL_ITEM@[0; 14) | 2 | IMPL_ITEM@[0; 14) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | TYPE_PARAM_LIST@[4; 14) | 4 | TYPE_PARAM_LIST@[4; 14) |
@@ -17,7 +17,7 @@ ROOT@[0; 39) | |||
17 | err: `expected trait or type` | 17 | err: `expected trait or type` |
18 | err: `expected `{`` | 18 | err: `expected `{`` |
19 | WHITESPACE@[14; 15) | 19 | WHITESPACE@[14; 15) |
20 | IMPL_ITEM@[15; 38) | 20 | IMPL_ITEM@[15; 37) |
21 | IMPL_KW@[15; 19) | 21 | IMPL_KW@[15; 19) |
22 | TYPE_PARAM_LIST@[19; 22) | 22 | TYPE_PARAM_LIST@[19; 22) |
23 | L_ANGLE@[19; 20) | 23 | L_ANGLE@[19; 20) |
@@ -41,8 +41,7 @@ ROOT@[0; 39) | |||
41 | IDENT@[32; 33) "T" | 41 | IDENT@[32; 33) "T" |
42 | R_ANGLE@[33; 34) | 42 | R_ANGLE@[33; 34) |
43 | WHITESPACE@[34; 35) | 43 | WHITESPACE@[34; 35) |
44 | ITEM_LIST@[35; 38) | 44 | ITEM_LIST@[35; 37) |
45 | L_CURLY@[35; 36) | 45 | L_CURLY@[35; 36) |
46 | WHITESPACE@[36; 37) | 46 | R_CURLY@[36; 37) |
47 | R_CURLY@[37; 38) | 47 | WHITESPACE@[37; 38) |
48 | WHITESPACE@[38; 39) | ||