@@ -136,27 +136,27 @@ fn ty_param_count_and_ty_for_def(&@fn_ctxt fcx, &ast::span sp, &ast::def defn)
136
136
}
137
137
case ( ast:: def_fn ( ?id) ) {
138
138
ret ty:: lookup_item_type ( fcx. ccx . sess , fcx. ccx . tcx ,
139
- fcx. ccx . type_cache , id) ;
139
+ fcx. ccx . type_cache , id) ;
140
140
}
141
141
case ( ast:: def_native_fn ( ?id) ) {
142
142
ret ty:: lookup_item_type ( fcx. ccx . sess , fcx. ccx . tcx ,
143
- fcx. ccx . type_cache , id) ;
143
+ fcx. ccx . type_cache , id) ;
144
144
}
145
145
case ( ast:: def_const ( ?id) ) {
146
146
ret ty:: lookup_item_type ( fcx. ccx . sess , fcx. ccx . tcx ,
147
- fcx. ccx . type_cache , id) ;
147
+ fcx. ccx . type_cache , id) ;
148
148
}
149
149
case ( ast:: def_variant ( _, ?vid) ) {
150
150
ret ty:: lookup_item_type ( fcx. ccx . sess , fcx. ccx . tcx ,
151
- fcx. ccx . type_cache , vid) ;
151
+ fcx. ccx . type_cache , vid) ;
152
152
}
153
153
case ( ast:: def_binding ( ?id) ) {
154
154
// assert (fcx.locals.contains_key(id));
155
155
ret tup ( 0 u, fcx. locals . get ( id) ) ;
156
156
}
157
157
case ( ast:: def_obj ( ?id) ) {
158
158
ret ty:: lookup_item_type ( fcx. ccx . sess , fcx. ccx . tcx ,
159
- fcx. ccx . type_cache , id) ;
159
+ fcx. ccx . type_cache , id) ;
160
160
}
161
161
162
162
case ( ast:: def_mod ( _) ) {
0 commit comments