Skip to content

Commit fe94269

Browse files
authored
Merge pull request #1051 from schungx/master
Fix tests
2 parents cd08174 + 50eca4f commit fe94269

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

codegen/ui_tests/export_fn_raw_return.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0599]: `bool` is not an iterator
22
--> ui_tests/export_fn_raw_return.rs:11:33
33
|
44
10 | #[export_fn(return_raw)]
5-
| ------------------------ in this procedural macro expansion
5+
| ------------------------ in this attribute macro expansion
66
11 | pub fn test_fn(input: Point) -> bool {
77
| ^^^^ `bool` is not an iterator
88
|

codegen/ui_tests/export_mod_raw_return.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0599]: `bool` is not an iterator
22
--> ui_tests/export_mod_raw_return.rs:12:33
33
|
44
9 | #[export_module]
5-
| ---------------- in this procedural macro expansion
5+
| ---------------- in this attribute macro expansion
66
...
77
12 | pub fn test_fn(input: Point) -> bool {
88
| ^^^^ `bool` is not an iterator

codegen/ui_tests/rhai_fn_non_clonable_return.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
22
--> ui_tests/rhai_fn_non_clonable_return.rs:12:31
33
|
44
11 | #[export_fn]
5-
| ------------ in this procedural macro expansion
5+
| ------------ in this attribute macro expansion
66
12 | pub fn test_fn(input: f32) -> NonClonable {
77
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
88
|

codegen/ui_tests/rhai_mod_non_clonable_return.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
22
--> ui_tests/rhai_mod_non_clonable_return.rs:12:35
33
|
44
10 | #[export_module]
5-
| ---------------- in this procedural macro expansion
5+
| ---------------- in this attribute macro expansion
66
11 | pub mod test_mod {
77
12 | pub fn test_fn(input: f32) -> NonClonable {
88
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`

0 commit comments

Comments
 (0)