summary refs log tree commit diff
path: root/src/libsyntax_expand
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-21 22:00:50 +0200
committerGitHub <noreply@github.com>2019-10-21 22:00:50 +0200
commit9072e108b5a871e87be23b7ed2c0c1f5c6fd70be (patch)
tree86cdece077308f5b48852d604d99791a5108f8b6 /src/libsyntax_expand
parente825e21e7adc5573bb8f19c5fa104ef666398746 (diff)
parentac6daed384d17abd31f84fc8205c21eee6a248be (diff)
downloadrust-9072e108b5a871e87be23b7ed2c0c1f5c6fd70be.tar.gz
rust-9072e108b5a871e87be23b7ed2c0c1f5c6fd70be.zip
Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=Centril
Remove unnecessary trait bounds and derivations

This PR removes unnecessary trait bounds and derivations from many types.

r? @nikomatsakis
Diffstat (limited to 'src/libsyntax_expand')
-rw-r--r--src/libsyntax_expand/mbe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_expand/mbe.rs b/src/libsyntax_expand/mbe.rs
index 453fe94f1de..d0f790638ef 100644
--- a/src/libsyntax_expand/mbe.rs
+++ b/src/libsyntax_expand/mbe.rs
@@ -73,7 +73,7 @@ impl KleeneToken {
 
 /// A Kleene-style [repetition operator](http://en.wikipedia.org/wiki/Kleene_star)
 /// for token sequences.
-#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
+#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)]
 enum KleeneOp {
     /// Kleene star (`*`) for zero or more repetitions
     ZeroOrMore,