File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
branches/snap-stage3/src/test/run-pass Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 663000ce35635b3f53e21590749c5d905e411bcd
4
+ refs/heads/snap-stage3: 360d7c2c1d7370059cca8cd4c5b820e80c9d1bed
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 1
- // FIXME should be in run-pass
2
-
3
- // -*- rust -*-
4
-
5
- // error-pattern: Non-boolean return type
6
-
7
1
// this checks that a pred with a non-bool return
8
2
// type is rejected, even if the pred is never used
9
3
10
- pure fn bad ( a : int ) -> int { ret 37 ; }
4
+ pure fn bad ( a : int ) -> int { ret 37 ; } //! ERROR Non-boolean return type
11
5
12
6
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments