File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
branches/snap-stage3/src/librusti Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 9423850fc38617089a976f748af7ee113132fd1a
4
+ refs/heads/snap-stage3: 8a4d359ffcfc9b0055580e27b841caf7e88f8f15
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ impl Program {
107
107
match * to_print {
108
108
Some ( ref s) => {
109
109
code. push_str( * s) ;
110
- code. push_char ( '\n' ) ;
110
+ code. push_str ( "; \n " ) ;
111
111
}
112
112
None => { }
113
113
}
Original file line number Diff line number Diff line change @@ -648,6 +648,11 @@ mod tests {
648
648
fn f() {}
649
649
f()
650
650
" ) ;
651
+
652
+ debug ! ( "simultaneous definitions + expressions are allowed" ) ;
653
+ run_program( "
654
+ let a = 3; a as u8
655
+ " ) ;
651
656
}
652
657
653
658
#[ test]
You can’t perform that action at this time.
0 commit comments