File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
trunk/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 4f105e4025729047f60d2adef01d31e905aec222
2
+ refs/heads/master: 1460ea43d27373be9c5af5e344ab1a667be5e81f
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change
1
+ // xfail-test
2
+ /*
3
+ Ideally, the error about the missing close brace in foo would be reported
4
+ near the corresponding open brace. But currently it's reported at the end.
5
+ xfailed for now (see Issue #2354)
6
+ */
7
+ fn foo ( ) { //! ERROR this open brace is not closed
8
+ alt some ( x) {
9
+ some ( y) { fail; }
10
+ none { fail; }
11
+ }
12
+
13
+ fn bar ( ) {
14
+ let mut i = 0 ;
15
+ while ( i < 1000 ) { }
16
+ }
17
+
18
+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments