Skip to content

Commit 525a5c5

Browse files
committed
rustc: Fix indentation in ty_param_count_and_ty_for_def()
1 parent 594c70f commit 525a5c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/comp/middle/typeck.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,27 +136,27 @@ fn ty_param_count_and_ty_for_def(&@fn_ctxt fcx, &ast::span sp, &ast::def defn)
136136
}
137137
case (ast::def_fn(?id)) {
138138
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
139-
fcx.ccx.type_cache, id);
139+
fcx.ccx.type_cache, id);
140140
}
141141
case (ast::def_native_fn(?id)) {
142142
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
143-
fcx.ccx.type_cache, id);
143+
fcx.ccx.type_cache, id);
144144
}
145145
case (ast::def_const(?id)) {
146146
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
147-
fcx.ccx.type_cache, id);
147+
fcx.ccx.type_cache, id);
148148
}
149149
case (ast::def_variant(_, ?vid)) {
150150
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
151-
fcx.ccx.type_cache, vid);
151+
fcx.ccx.type_cache, vid);
152152
}
153153
case (ast::def_binding(?id)) {
154154
// assert (fcx.locals.contains_key(id));
155155
ret tup(0u, fcx.locals.get(id));
156156
}
157157
case (ast::def_obj(?id)) {
158158
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
159-
fcx.ccx.type_cache, id);
159+
fcx.ccx.type_cache, id);
160160
}
161161

162162
case (ast::def_mod(_)) {

0 commit comments

Comments
 (0)