diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-21 18:15:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-21 18:15:09 +0100 |
commit | aab5aaccf2b1af8f1820a244a2c293c7460f9eb6 (patch) | |
tree | 60f971e2be8341c7759defc6662f83d6c47d0fdd /xtask/src | |
parent | df54561a689a9eb7b1962b69a397a1221200c116 (diff) | |
parent | 95f33bb5f73a7f9b7922eef14b996c0a489a6404 (diff) |
Merge #5838
5838: :arrow_up: autocfg
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/codegen/gen_syntax.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs index 53ae9f11c..200e8aa50 100644 --- a/xtask/src/codegen/gen_syntax.rs +++ b/xtask/src/codegen/gen_syntax.rs | |||
@@ -477,6 +477,7 @@ impl Field { | |||
477 | "#" => "pound", | 477 | "#" => "pound", |
478 | "?" => "question_mark", | 478 | "?" => "question_mark", |
479 | "," => "comma", | 479 | "," => "comma", |
480 | "|" => "pipe", | ||
480 | _ => name, | 481 | _ => name, |
481 | }; | 482 | }; |
482 | format_ident!("{}_token", name) | 483 | format_ident!("{}_token", name) |