Skip to content

Commit 329b7f3

Browse files
authored
Merge pull request #480 from jackh726/fn_def
Actually fix tests
2 parents bbfe6dc + 80592cf commit 329b7f3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/test/fn_def.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::*;
44
fn 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

tests/test/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ mod coinduction;
303303
mod constants;
304304
mod cycle;
305305
mod existential_types;
306+
mod fn_def;
306307
mod functions;
307308
mod implied_bounds;
308309
mod impls;

0 commit comments

Comments
 (0)