Skip to content

Commit cfdbbb5

Browse files
mark-i-mtesuji
andauthored
format derives
Co-authored-by: lzutao <taolzu@gmail.com>
1 parent e855b90 commit cfdbbb5

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/librustc_middle/ty/sty.rs

+2-13
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,8 @@ pub enum TyKind<'tcx> {
208208

209209
/// A type that is not publicly constructable. This prevents people from making `TyKind::Error`
210210
/// except through `tcx.err*()`.
211-
#[derive(
212-
Copy,
213-
Clone,
214-
Debug,
215-
Eq,
216-
Hash,
217-
PartialEq,
218-
PartialOrd,
219-
Ord,
220-
RustcEncodable,
221-
RustcDecodable,
222-
HashStable
223-
)]
211+
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
212+
#[derive(RustcEncodable, RustcDecodable, HashStable)]
224213
pub struct DelaySpanBugEmitted(pub(super) ());
225214

226215
// `TyKind` is used a lot. Make sure it doesn't unintentionally get bigger.

0 commit comments

Comments
 (0)