Skip to content

Commit 0136aac

Browse files
committed
---
yaml --- r: 60311 b: refs/heads/master c: 4a9d8ff h: refs/heads/master i: 60309: 3ba47b0 60307: 8badc9d 60303: e619e89 v: v3
1 parent 11b3efb commit 0136aac

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 54f2147e8eb49507e419b2129a08bfd1585f7e77
2+
refs/heads/master: 4a9d8ff1a7ee6e832cceb582cb213ac6444f09b6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
55
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589

trunk/src/librusti/rusti.rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn run(repl: Repl, input: ~str) -> Repl {
122122

123123
debug!("building driver input");
124124
let head = include_str!("wrapper.rs").to_owned();
125-
let foot = fmt!("%s\nfn main() {\n%s\n\nprint({\n%s\n})\n}",
125+
let foot = fmt!("fn main() {\n%s\n%s\n\nprint({\n%s\n})\n}",
126126
repl.view_items, repl.stmts, input);
127127
let wrapped = driver::str_input(head + foot);
128128

@@ -444,6 +444,7 @@ mod tests {
444444
}
445445

446446
fn use_does_not_crash() {
447+
// Regression tests for #5937
447448
let mut r = repl();
448449
let result = run_line(&mut r, io::stdin(), io::stdout(),
449450
~"use core::util::with;", false);

0 commit comments

Comments
 (0)