commit | d261d0954c24c8f9863a661a8d349158e95b00a3 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Fri May 18 13:47:35 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun May 20 16:41:41 2018 -0700 |
tree | 898efb33810c029356553a7a6bfa9afd4a1b0938 | |
parent | 715862b72971a02800c9d81de83afefebbe5e0e0 [diff] [blame] |
Add back fold_ident
diff --git a/codegen/src/main.rs b/codegen/src/main.rs index fc5f8a9..1ab17f3 100644 --- a/codegen/src/main.rs +++ b/codegen/src/main.rs
@@ -42,7 +42,7 @@ const EXTRA_TYPES: &[&str] = &["Ident", "Lifetime"]; -const TERMINAL_TYPES: &[&str] = &["Span"]; +const TERMINAL_TYPES: &[&str] = &["Span", "Ident"]; fn path_eq(a: &syn::Path, b: &str) -> bool { if a.global() {