File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
branches/try/src/librusti Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
- refs/heads/try: 54f2147e8eb49507e419b2129a08bfd1585f7e77
5
+ refs/heads/try: 4a9d8ff1a7ee6e832cceb582cb213ac6444f09b6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ fn run(repl: Repl, input: ~str) -> Repl {
122
122
123
123
debug!("building driver input");
124
124
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}",
126
126
repl.view_items, repl.stmts, input);
127
127
let wrapped = driver::str_input(head + foot);
128
128
@@ -444,6 +444,7 @@ mod tests {
444
444
}
445
445
446
446
fn use_does_not_crash() {
447
+ // Regression tests for #5937
447
448
let mut r = repl();
448
449
let result = run_line(&mut r, io::stdin(), io::stdout(),
449
450
~"use core::util::with;", false);
You can’t perform that action at this time.
0 commit comments