File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use super::*;
4
4
fn fn_def_is_well_formed ( ) {
5
5
test ! {
6
6
program {
7
- fn foo( ) { }
7
+ fn foo( ) ;
8
8
}
9
9
goal {
10
10
WellFormed ( foo)
@@ -21,7 +21,7 @@ fn fn_def_is_sized() {
21
21
#[ lang( sized) ]
22
22
trait Sized { }
23
23
24
- fn foo( ) { }
24
+ fn foo( ) ;
25
25
}
26
26
goal {
27
27
foo: Sized
@@ -38,7 +38,7 @@ fn fn_def_is_copy() {
38
38
#[ lang( copy) ]
39
39
trait Copy { }
40
40
41
- fn foo( ) { }
41
+ fn foo( ) ;
42
42
}
43
43
goal {
44
44
foo: Copy
@@ -55,7 +55,7 @@ fn fn_def_is_clone() {
55
55
#[ lang( clone) ]
56
56
trait Clone { }
57
57
58
- fn foo( ) { }
58
+ fn foo( ) ;
59
59
}
60
60
goal {
61
61
foo: Clone
Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ mod coinduction;
303
303
mod constants;
304
304
mod cycle;
305
305
mod existential_types;
306
+ mod fn_def;
306
307
mod functions;
307
308
mod implied_bounds;
308
309
mod impls;
You can’t perform that action at this time.
0 commit comments