about summary refs log tree commit diff
path: root/src/libsyntax/ext
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/ext
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/ext')
-rw-r--r--src/libsyntax/ext/quote.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs
index c6e0adbb5a4..69ed318b049 100644
--- a/src/libsyntax/ext/quote.rs
+++ b/src/libsyntax/ext/quote.rs
@@ -703,7 +703,6 @@ fn expr_mk_token(cx: &ExtCtxt, sp: Span, tok: &token::Token) -> P<ast::Expr> {
         token::At           => "At",
         token::Dot          => "Dot",
         token::DotDot       => "DotDot",
-        token::DotEq        => "DotEq",
         token::DotDotDot    => "DotDotDot",
         token::DotDotEq     => "DotDotEq",
         token::Comma        => "Comma",