diff options
| author | bors <bors@rust-lang.org> | 2015-12-16 12:16:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-16 12:16:43 +0000 |
| commit | 785a8a6681963ff389b5902e7d6bd30006fafe0a (patch) | |
| tree | 60b51ca2c9f0efd343f24eb564f90b5697a74c87 /src/libsyntax/print | |
| parent | ce7bc51933e2facb4eca029ac17b398f372f5b41 (diff) | |
| parent | f0361a05028ec9bf8ef256432c212f1d7f3bc115 (diff) | |
| download | rust-785a8a6681963ff389b5902e7d6bd30006fafe0a.tar.gz rust-785a8a6681963ff389b5902e7d6bd30006fafe0a.zip | |
Auto merge of #30410 - Manishearth:rollup, r=Manishearth
- Successful merges: #30320, #30368, #30372, #30376, #30388, #30392 - Failed merges: #30354, #30389
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), |
