format derives

Co-authored-by: lzutao <taolzu@gmail.com>
This commit is contained in:
Who? Me?! 2020-06-16 09:41:05 -05:00 committed by GitHub
parent e855b90a8e
commit cfdbbb5600
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,19 +208,8 @@ pub enum TyKind<'tcx> {
/// A type that is not publicly constructable. This prevents people from making `TyKind::Error`
/// except through `tcx.err*()`.
#[derive(
Copy,
Clone,
Debug,
Eq,
Hash,
PartialEq,
PartialOrd,
Ord,
RustcEncodable,
RustcDecodable,
HashStable
)]
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
#[derive(RustcEncodable, RustcDecodable, HashStable)]
pub struct DelaySpanBugEmitted(pub(super) ());
// `TyKind` is used a lot. Make sure it doesn't unintentionally get bigger.