diff options
author | Aleksey Kladov <[email protected]> | 2018-08-31 11:35:48 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-31 11:35:48 +0100 |
commit | 8fc7f438c4347e027deda5cda4bcd5e560610bb7 (patch) | |
tree | fea53412ee0462dbecc6071a85164c18bd5f9fa6 /crates/libsyntax2/src/grammar/items/traits.rs | |
parent | faebae74e48e3e7e0d3dfddc5b5cf0b18535cc6b (diff) |
start item recovery
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/traits.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/items/traits.rs b/crates/libsyntax2/src/grammar/items/traits.rs index 01b79e3c9..9d21d4d36 100644 --- a/crates/libsyntax2/src/grammar/items/traits.rs +++ b/crates/libsyntax2/src/grammar/items/traits.rs | |||
@@ -5,7 +5,7 @@ use super::*; | |||
5 | pub(super) fn trait_def(p: &mut Parser) { | 5 | pub(super) fn trait_def(p: &mut Parser) { |
6 | assert!(p.at(TRAIT_KW)); | 6 | assert!(p.at(TRAIT_KW)); |
7 | p.bump(); | 7 | p.bump(); |
8 | name(p); | 8 | name_r(p, ITEM_RECOVERY_SET); |
9 | type_params::opt_type_param_list(p); | 9 | type_params::opt_type_param_list(p); |
10 | if p.at(COLON) { | 10 | if p.at(COLON) { |
11 | type_params::bounds(p); | 11 | type_params::bounds(p); |