about summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2018-12-02 22:15:50 +0900
committeryui-knk <spiketeika@gmail.com>2018-12-02 23:11:08 +0900
commit96bf06baf308e5cd2ad43962895f626724395e7d (patch)
tree8072f59545b68fa32d70a48b2472406b1f03f28b /src/libsyntax/print
parent0765eb95b5e9e15fc29aa7725a01621dfeca2649 (diff)
downloadrust-96bf06baf308e5cd2ad43962895f626724395e7d.tar.gz
rust-96bf06baf308e5cd2ad43962895f626724395e7d.zip
Remove not used `DotEq` token
Currently libproc_macro does not use `DotEq` token.
https://github.com/rust-lang/rust/pull/49545 changed libproc_macro
to not generate `DotEq` token.
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index 14ad4b5c6f8..4fa1d0fac35 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -210,7 +210,6 @@ pub fn token_to_string(tok: &Token) -> String {
         token::DotDot               => "..".to_string(),
         token::DotDotDot            => "...".to_string(),
         token::DotDotEq             => "..=".to_string(),
-        token::DotEq                => ".=".to_string(),
         token::Comma                => ",".to_string(),
         token::Semi                 => ";".to_string(),
         token::Colon                => ":".to_string(),