File tree 2 files changed +4
-4
lines changed
crates/bevy_reflect/compile_fail/tests/into_function
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ fn main() {
33
33
let _ = pass. into_function ( ) ;
34
34
35
35
let _ = too_many_arguments. into_function ( ) ;
36
- //~^ ERROR: no method named `into_function` found
36
+ //~^ E0599
37
37
38
38
let _ = argument_not_reflect. into_function ( ) ;
39
- //~^ ERROR: no method named `into_function` found
39
+ //~^ E0599
40
40
}
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ fn main() {
25
25
let _ = pass. into_function ( ) ;
26
26
27
27
let _ = return_not_reflect. into_function ( ) ;
28
- //~^ ERROR: no method named `into_function` found
28
+ //~^ E0599
29
29
30
30
let _ = return_with_lifetime_pass. into_function ( ) ;
31
31
32
32
let _ = return_with_invalid_lifetime. into_function ( ) ;
33
- //~^ ERROR: no method named `into_function` found
33
+ //~^ E0599
34
34
}
You can’t perform that action at this time.
0 commit comments