diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/items')
-rw-r--r-- | crates/ra_syntax/src/grammar/items/traits.rs | 2 | ||||
-rw-r--r-- | crates/ra_syntax/src/grammar/items/use_item.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar/items/traits.rs b/crates/ra_syntax/src/grammar/items/traits.rs index 31258c253..d4da8b2f7 100644 --- a/crates/ra_syntax/src/grammar/items/traits.rs +++ b/crates/ra_syntax/src/grammar/items/traits.rs | |||
@@ -116,7 +116,7 @@ fn choose_type_params_over_qpath(p: &Parser) -> bool { | |||
116 | && (p.nth(2) == R_ANGLE || p.nth(2) == COMMA || p.nth(2) == COLON || p.nth(2) == EQ) | 116 | && (p.nth(2) == R_ANGLE || p.nth(2) == COMMA || p.nth(2) == COLON || p.nth(2) == EQ) |
117 | } | 117 | } |
118 | 118 | ||
119 | // test impl_type | 119 | // test_err impl_type |
120 | // impl Type {} | 120 | // impl Type {} |
121 | // impl Trait1 for T {} | 121 | // impl Trait1 for T {} |
122 | // impl impl NotType {} | 122 | // impl impl NotType {} |
diff --git a/crates/ra_syntax/src/grammar/items/use_item.rs b/crates/ra_syntax/src/grammar/items/use_item.rs index b3c78f351..5111d37eb 100644 --- a/crates/ra_syntax/src/grammar/items/use_item.rs +++ b/crates/ra_syntax/src/grammar/items/use_item.rs | |||
@@ -74,7 +74,7 @@ fn use_tree(p: &mut Parser) { | |||
74 | // other::path as some_other_name, | 74 | // other::path as some_other_name, |
75 | // different::path as different_name, | 75 | // different::path as different_name, |
76 | // yet::another::path, | 76 | // yet::another::path, |
77 | // running::out::of::synonyms::for::different::* | 77 | // running::out::of::synonyms::for_::different::* |
78 | // }; | 78 | // }; |
79 | opt_alias(p); | 79 | opt_alias(p); |
80 | } | 80 | } |