Skip to content

Commit

Permalink
format derives
Browse files Browse the repository at this point in the history
Co-authored-by: lzutao <taolzu@gmail.com>
  • Loading branch information
mark-i-m and tesuji authored Jun 16, 2020
1 parent e855b90 commit cfdbbb5
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/librustc_middle/ty/sty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cfdbbb5

Please sign in to comment.