Skip to content

Commit be6326b

Browse files
committed
---
yaml --- r: 61274 b: refs/heads/try c: 4a9d8ff h: refs/heads/master v: v3
1 parent a2cce53 commit be6326b

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5-
refs/heads/try: 54f2147e8eb49507e419b2129a08bfd1585f7e77
5+
refs/heads/try: 4a9d8ff1a7ee6e832cceb582cb213ac6444f09b6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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)