Skip to content

Commit e751a30

Browse files
committed
Fix compile tests
1 parent f707b9d commit e751a30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/bevy_reflect/compile_fail/tests/into_function/arguments_fail.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ fn main() {
3333
let _ = pass.into_function();
3434

3535
let _ = too_many_arguments.into_function();
36-
//~^ ERROR: no method named `into_function` found
36+
//~^ E0599
3737

3838
let _ = argument_not_reflect.into_function();
39-
//~^ ERROR: no method named `into_function` found
39+
//~^ E0599
4040
}

crates/bevy_reflect/compile_fail/tests/into_function/return_fail.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ fn main() {
2525
let _ = pass.into_function();
2626

2727
let _ = return_not_reflect.into_function();
28-
//~^ ERROR: no method named `into_function` found
28+
//~^ E0599
2929

3030
let _ = return_with_lifetime_pass.into_function();
3131

3232
let _ = return_with_invalid_lifetime.into_function();
33-
//~^ ERROR: no method named `into_function` found
33+
//~^ E0599
3434
}

0 commit comments

Comments
 (0)