Skip to content

Commit c29f1af

Browse files
committed
Remove irrelevant parts of test
1 parent 064f52f commit c29f1af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/test/compile-fail/constrained-type-missing-check.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// xfail-test
33
// error-pattern:Unsatisfied precondition
44

5-
tag list { cons(int, @list); nil; }
6-
7-
type bubu = {x: int, y: int};
8-
95
pure fn less_than(x: int, y: int) -> bool { ret x < y; }
106

117
type ordered_range = {low: int, high: int} : less_than(low, high);

0 commit comments

Comments
 (0)