diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-12-16 17:46:29 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-12-16 17:46:29 +0530 |
| commit | b0b9a556df908d8247d38241ad4521a00a8b6cf3 (patch) | |
| tree | 7d656b6a01b16eb77017db0a87a4d59e0bc92b01 /src/libsyntax/print | |
| parent | 7aabc66a850004c1b039032ac23be1b43a064bf1 (diff) | |
| parent | 2dcd791d46523e75da5c594033383e90c08d4ae3 (diff) | |
| download | rust-b0b9a556df908d8247d38241ad4521a00a8b6cf3.tar.gz rust-b0b9a556df908d8247d38241ad4521a00a8b6cf3.zip | |
Rollup merge of #30388 - DanielJCampbell:macro-ident-spans, r=nrc
r? @nrc
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 0be62bc0a7f..4e2289cb7f4 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -295,7 +295,7 @@ pub fn token_to_string(tok: &Token) -> String { token::NtBlock(ref e) => block_to_string(&**e), token::NtStmt(ref e) => stmt_to_string(&**e), token::NtPat(ref e) => pat_to_string(&**e), - token::NtIdent(ref e, _) => ident_to_string(**e), + token::NtIdent(ref e, _) => ident_to_string(e.node), token::NtTT(ref e) => tt_to_string(&**e), token::NtArm(ref e) => arm_to_string(&*e), token::NtImplItem(ref e) => impl_item_to_string(&**e), |
