diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-05-14 00:01:56 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-05-15 23:54:08 +0300 |
| commit | c1061254317ac747d2bf5901329545f4cec5ebcb (patch) | |
| tree | 4abe39c1bf4c5db072c168ce019c195763e0920b /src/libsyntax/print | |
| parent | 5b820a694c0fd8392092c3f0301537aafe92cce2 (diff) | |
| download | rust-c1061254317ac747d2bf5901329545f4cec5ebcb.tar.gz rust-c1061254317ac747d2bf5901329545f4cec5ebcb.zip | |
Represent lifetimes as two joint tokens in proc macros
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 99a6fcf170d..8e33fa08083 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -224,6 +224,7 @@ pub fn token_to_string(tok: &Token) -> String { token::Pound => "#".to_string(), token::Dollar => "$".to_string(), token::Question => "?".to_string(), + token::SingleQuote => "'".to_string(), /* Literals */ token::Literal(lit, suf) => { |
