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::*;
44fn fn_def_is_well_formed ( ) {
55 test ! {
66 program {
7- fn foo( ) { }
7+ fn foo( ) ;
88 }
99 goal {
1010 WellFormed ( foo)
@@ -21,7 +21,7 @@ fn fn_def_is_sized() {
2121 #[ lang( sized) ]
2222 trait Sized { }
2323
24- fn foo( ) { }
24+ fn foo( ) ;
2525 }
2626 goal {
2727 foo: Sized
@@ -38,7 +38,7 @@ fn fn_def_is_copy() {
3838 #[ lang( copy) ]
3939 trait Copy { }
4040
41- fn foo( ) { }
41+ fn foo( ) ;
4242 }
4343 goal {
4444 foo: Copy
@@ -55,7 +55,7 @@ fn fn_def_is_clone() {
5555 #[ lang( clone) ]
5656 trait Clone { }
5757
58- fn foo( ) { }
58+ fn foo( ) ;
5959 }
6060 goal {
6161 foo: Clone
Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ mod coinduction;
303303mod constants;
304304mod cycle;
305305mod existential_types;
306+ mod fn_def;
306307mod functions;
307308mod implied_bounds;
308309mod impls;
You can’t perform that action at this time.
0 commit comments