Skip to content

Commit 7f12430

Browse files
committed
---
yaml --- r: 62809 b: refs/heads/snap-stage3 c: d80642b h: refs/heads/master i: 62807: 5faca9c v: v3
1 parent c7d81c0 commit 7f12430

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2204
-1364
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: e946b4fa3f7d9a551fd8f039a2b15142d132f3fb
4+
refs/heads/snap-stage3: d80642b5196497e3b90bdc3ed47c60aedece2c57
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librust/rust.rc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ fn cmd_help(args: &[~str]) -> ValidUsage {
152152
}
153153

154154
match args {
155-
[command_string] => print_usage(command_string),
156-
_ => Invalid
155+
[ref command_string] => print_usage(copy *command_string),
156+
_ => Invalid
157157
}
158158
}
159159

160160
fn cmd_test(args: &[~str]) -> ValidUsage {
161161
match args {
162-
[filename] => {
163-
let test_exec = Path(filename).filestem().unwrap() + "test~";
162+
[ref filename] => {
163+
let test_exec = Path(*filename).filestem().unwrap() + "test~";
164164
invoke("rustc", &[~"--test", filename.to_owned(),
165165
~"-o", test_exec.to_owned()], rustc::main);
166166
let exit_code = run::process_status(~"./" + test_exec, []);
@@ -172,8 +172,8 @@ fn cmd_test(args: &[~str]) -> ValidUsage {
172172

173173
fn cmd_run(args: &[~str]) -> ValidUsage {
174174
match args {
175-
[filename, ..prog_args] => {
176-
let exec = Path(filename).filestem().unwrap() + "~";
175+
[ref filename, ..prog_args] => {
176+
let exec = Path(*filename).filestem().unwrap() + "~";
177177
invoke("rustc", &[filename.to_owned(), ~"-o", exec.to_owned()],
178178
rustc::main);
179179
let exit_code = run::process_status(~"./"+exec, prog_args);

branches/snap-stage3/src/librustc/driver/driver.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ pub fn compile_rest(sess: Session,
263263
time(time_passes, ~"loop checking", ||
264264
middle::check_loop::check_crate(ty_cx, crate));
265265

266-
let middle::moves::MoveMaps {moves_map, variable_moves_map,
267-
moved_variables_set, capture_map} =
266+
let middle::moves::MoveMaps {moves_map, moved_variables_set,
267+
capture_map} =
268268
time(time_passes, ~"compute moves", ||
269269
middle::moves::compute_moves(ty_cx, method_map, crate));
270270

@@ -274,7 +274,6 @@ pub fn compile_rest(sess: Session,
274274

275275
time(time_passes, ~"liveness checking", ||
276276
middle::liveness::check_crate(ty_cx, method_map,
277-
variable_moves_map,
278277
capture_map, crate));
279278

280279
let (root_map, write_guard_map) =

0 commit comments

Comments
 (0)