File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -3552,7 +3552,6 @@ fn enum_variants(cx: ctxt, id: ast::def_id) -> @~[variant_info] {
3552
3552
} ;
3553
3553
match variant. node . disr_expr {
3554
3554
Some ( ex) => {
3555
- // FIXME: issue #1417
3556
3555
disr_val = match const_eval:: eval_const_expr ( cx,
3557
3556
ex) {
3558
3557
const_eval:: const_int( val) => val as int ,
@@ -3915,10 +3914,6 @@ fn normalize_ty(cx: ctxt, t: t) -> t {
3915
3914
t
3916
3915
} ;
3917
3916
3918
- // FIXME #2187: This also reduced int types to their compatible machine
3919
- // types, which isn't necessary after #2187
3920
- let t = mk_t ( cx, mach_sty ( cx. sess . targ_cfg , t) ) ;
3921
-
3922
3917
let sty = fold_sty ( & get ( t) . sty , |t| { normalize_ty ( cx, t) } ) ;
3923
3918
let t_norm = mk_t ( cx, sty) ;
3924
3919
cx. normalized_cache . insert ( t, t_norm) ;
You can’t perform that action at this time.
0 commit comments