about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-03-21 01:58:25 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-07-14 14:56:57 +0300
commit4d1a30c92b50c5965ed26449758fca81bee15747 (patch)
treead1638de488e3f30ce91f7e7443b0b7891003a0b /src/libsyntax_pos
parent0a8275f8b677304458c6161e26436dfe67ab766b (diff)
Remove most of `PartialEq` impls from AST and HIR structures
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/edition.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/edition.rs b/src/libsyntax_pos/edition.rs
index 67cd9361ad5..fce8fc3db4e 100644
--- a/src/libsyntax_pos/edition.rs
+++ b/src/libsyntax_pos/edition.rs
@@ -12,7 +12,7 @@ use std::fmt;
 use std::str::FromStr;
 
 /// The edition of the compiler (RFC 2052)
-#[derive(Clone, Copy, Hash, PartialOrd, Ord, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)]
+#[derive(Clone, Copy, Hash, PartialEq, PartialOrd, Debug, RustcEncodable, RustcDecodable)]
 #[non_exhaustive]
 pub enum Edition {
     // editions must be kept in order, oldest to newest