diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-16 04:12:02 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-24 20:59:44 +0300 |
| commit | 546c052d225d41cd31f610e87a20f15cd0fa8e3c (patch) | |
| tree | d2d1bb3b10895f266c2d5137c7aba8f8515583af /src/libsyntax_ext/concat_idents.rs | |
| parent | 8dbf8f5f0a26a8f80f895294532ad567c156beb3 (diff) | |
| download | rust-546c052d225d41cd31f610e87a20f15cd0fa8e3c.tar.gz rust-546c052d225d41cd31f610e87a20f15cd0fa8e3c.zip | |
syntax: Get rid of token::IdentStyle
Diffstat (limited to 'src/libsyntax_ext/concat_idents.rs')
| -rw-r--r-- | src/libsyntax_ext/concat_idents.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/concat_idents.rs b/src/libsyntax_ext/concat_idents.rs index 85453f6dfcb..dce808756cf 100644 --- a/src/libsyntax_ext/concat_idents.rs +++ b/src/libsyntax_ext/concat_idents.rs @@ -40,7 +40,7 @@ pub fn expand_syntax_ext<'cx>(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) } } else { match *e { - TokenTree::Token(_, token::Ident(ident, _)) => { + TokenTree::Token(_, token::Ident(ident)) => { res_str.push_str(&ident.name.as_str()) }, _ => { |
