diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-23 16:23:11 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-27 14:05:05 +1000 |
| commit | 33a3206dc5e7f267617a625d8b31ccc3250cdc1e (patch) | |
| tree | 4d09e30ea55c8a6d0338591876e4c2d8d1c684f8 /src/libsyntax_pos | |
| parent | 15789a97737c1cada44aa253fbbcee80ecd40895 (diff) | |
Use `Symbol` equality in `may_begin_with` and `parse_nt`.
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index da6c41adfd9..60f87783b3e 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -252,6 +252,7 @@ symbols! { existential_type, expected, export_name, + expr, extern_absolute_paths, external_doc, extern_crate_item_prelude, @@ -329,6 +330,7 @@ symbols! { issue, issue_5723_bootstrap, issue_tracker_base_url, + item, item_like_imports, iter, Iterator, @@ -339,6 +341,7 @@ symbols! { lang, lang_items, lib, + lifetime, link, linkage, link_args, @@ -347,6 +350,7 @@ symbols! { link_name, link_section, lint_reasons, + literal, local_inner_macros, log_syntax, loop_break_value, @@ -435,6 +439,7 @@ symbols! { partial_cmp, PartialOrd, passes, + pat, path, pattern_parentheses, Pending, @@ -578,6 +583,7 @@ symbols! { static_recursion, std, str, + stmt, stmt_expr_attributes, stop_after_dataflow, struct_field_attributes, @@ -610,6 +616,7 @@ symbols! { Try, try_blocks, try_trait, + tt, tuple_indexing, ty, type_alias_enum_variants, |
