use rustc_macros::HashStable_Generic;
/// The edition of the compiler (RFC 2052)
-#[derive(
- Clone,
- Copy,
- Hash,
- PartialEq,
- PartialOrd,
- Debug,
- RustcEncodable,
- RustcDecodable,
- Eq,
- HashStable_Generic
-)]
+#[derive(Clone, Copy, Hash, PartialEq, PartialOrd, Debug, Encodable, Decodable, Eq)]
+#[derive(HashStable_Generic)]
pub enum Edition {
// editions must be kept in order, oldest to newest
/// The 2015 edition