@@ -1646,16 +1646,15 @@ fn replace_expr_type(&node_type_table ntt,
1646
1646
1647
1647
fn check_lit( @crate_ctxt ccx, & @ast:: lit lit) -> ty:: t {
1648
1648
alt ( lit. node) {
1649
- case ( ast:: lit_str( _) ) { ret ty:: mk_str( ccx. tcx) ; }
1650
- case ( ast:: lit_char( _) ) { ret ty:: mk_char( ccx. tcx) ; }
1651
- case ( ast:: lit_int( _) ) { ret ty:: mk_int( ccx. tcx) ; }
1652
- case ( ast:: lit_float( _) ) { ret ty:: mk_float( ccx. tcx) ; }
1653
- case ( ast:: lit_mach_float( ?tm, _) )
1654
- { ret ty:: mk_mach( ccx. tcx, tm) ; }
1655
- case ( ast:: lit_uint( _) ) { ret ty:: mk_uint( ccx. tcx) ; }
1656
- case ( ast:: lit_mach_int( ?tm, _) ) { ret ty:: mk_mach( ccx. tcx, tm) ; }
1657
- case ( ast:: lit_nil) { ret ty:: mk_nil( ccx. tcx) ; }
1658
- case ( ast:: lit_bool( _) ) { ret ty:: mk_bool( ccx. tcx) ; }
1649
+ case ( ast:: lit_str( _) ) { ret ty:: mk_str( ccx. tcx) ; }
1650
+ case ( ast:: lit_char( _) ) { ret ty:: mk_char( ccx. tcx) ; }
1651
+ case ( ast:: lit_int( _) ) { ret ty:: mk_int( ccx. tcx) ; }
1652
+ case ( ast:: lit_float( _) ) { ret ty:: mk_float( ccx. tcx) ; }
1653
+ case ( ast:: lit_mach_float( ?tm, _) ) { ret ty:: mk_mach( ccx. tcx, tm) ; }
1654
+ case ( ast:: lit_uint( _) ) { ret ty:: mk_uint( ccx. tcx) ; }
1655
+ case ( ast:: lit_mach_int( ?tm, _) ) { ret ty:: mk_mach( ccx. tcx, tm) ; }
1656
+ case ( ast:: lit_nil) { ret ty:: mk_nil( ccx. tcx) ; }
1657
+ case ( ast:: lit_bool( _) ) { ret ty:: mk_bool( ccx. tcx) ; }
1659
1658
}
1660
1659
1661
1660
fail; // not reached
0 commit comments