Skip to content

Commit bf0d6a7

Browse files
committed
Reorder the arms of sty.
1 parent 7f6ee0c commit bf0d6a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rustc/middle/ty.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,11 @@ enum sty {
377377
// integral types only
378378
ty_param(uint, def_id), // type parameter
379379
ty_self, // special, implicit `self` type parameter
380+
ty_constr(t, [@type_constr]),
380381

382+
// "Fake" types, used for trans purposes
381383
ty_type, // type_desc*
382384
ty_opaque_box, // used by monomorphizer to represent any @ box
383-
ty_constr(t, [@type_constr]),
384385
ty_opaque_closure_ptr(closure_kind), // ptr to env for fn, fn@, fn~
385386
}
386387

0 commit comments

Comments
 (0)