Skip to content

Commit 16506c0

Browse files
committed
librustc: Make a context including the method map in check_alt, in preparation for moving check_legality_of_move_bindings there. rs=refactoring
1 parent 1fc8022 commit 16506c0

File tree

3 files changed

+103
-87
lines changed

3 files changed

+103
-87
lines changed

src/librustc/driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fn compile_upto(sess: Session, cfg: ast::crate_cfg,
249249
middle::check_loop::check_crate(ty_cx, crate));
250250

251251
time(time_passes, ~"alt checking", ||
252-
middle::check_alt::check_crate(ty_cx, crate));
252+
middle::check_alt::check_crate(ty_cx, method_map, crate));
253253

254254
time(time_passes, ~"mode computation", ||
255255
middle::mode::compute_modes(ty_cx, method_map, crate));

0 commit comments

Comments
 (0)