Skip to content

Commit 4e8bb86

Browse files
authored
Merge pull request #1087 from schungx/fix-ci
Fix CI tests output
2 parents c3202b6 + 352020c commit 4e8bb86

58 files changed

Lines changed: 3 additions & 425 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

codegen/ui_tests/export_fn_bad_attr.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: unknown attribute 'unknown'
33
|
44
10 | #[export_fn(unknown = "thing")]
55
| ^^^^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_bad_attr.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_bad_value.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: expecting string literal
33
|
44
10 | #[export_fn(name = true)]
55
| ^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_bad_value.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_extra_value.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: extraneous value
33
|
44
10 | #[export_fn(return_raw = "yes")]
55
| ^^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_extra_value.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_junk_arg.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: expecting identifier
33
|
44
10 | #[export_fn("wheeeee")]
55
| ^^^^^^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_junk_arg.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_missing_value.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: requires value
33
|
44
10 | #[export_fn(name)]
55
| ^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_missing_value.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_path_attr.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: expecting attribute name
33
|
44
10 | #[export_fn(rhai::name = "thing")]
55
| ^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_path_attr.rs:17:8
9-
|
10-
17 | if test_fn(n) {
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_fn_raw_noreturn.stderr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ error: functions marked with 'return_raw' must return Result<T, Box<EvalAltResul
33
|
44
10 | #[export_fn(return_raw)]
55
| ^^^^^^^^^^
6-
7-
error[E0425]: cannot find function `test_fn` in this scope
8-
--> ui_tests/export_fn_raw_noreturn.rs:17:5
9-
|
10-
17 | test_fn(&mut n);
11-
| ^^^^^^^ not found in this scope

codegen/ui_tests/export_mod_bad_attr.stderr

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,3 @@ error: unknown attribute 'unknown'
33
|
44
11 | #[rhai_fn(unknown = "thing")]
55
| ^^^^^^^
6-
7-
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_mod`
8-
--> ui_tests/export_mod_bad_attr.rs:22:8
9-
|
10-
22 | if test_mod::test_fn(n) {
11-
| ^^^^^^^^ use of unresolved module or unlinked crate `test_mod`
12-
|
13-
= help: if you wanted to use a crate named `test_mod`, use `cargo add test_mod` to add it to your `Cargo.toml`

codegen/ui_tests/export_mod_bad_value.stderr

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,3 @@ error: expecting string literal
33
|
44
11 | #[rhai_fn(name = true)]
55
| ^^^^
6-
7-
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_mod`
8-
--> ui_tests/export_mod_bad_value.rs:22:8
9-
|
10-
22 | if test_mod::test_fn(n) {
11-
| ^^^^^^^^ use of unresolved module or unlinked crate `test_mod`
12-
|
13-
= help: if you wanted to use a crate named `test_mod`, use `cargo add test_mod` to add it to your `Cargo.toml`

codegen/ui_tests/export_mod_cfg.stderr

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,3 @@ error: expected attribute arguments in parentheses: #[rhai_fn(...)]
33
|
44
12 | #[rhai_fn]
55
| ^^^^^^^
6-
7-
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_mod`
8-
--> ui_tests/export_mod_cfg.rs:23:8
9-
|
10-
23 | if test_mod::test_fn(n) {
11-
| ^^^^^^^^ use of unresolved module or unlinked crate `test_mod`
12-
|
13-
= help: if you wanted to use a crate named `test_mod`, use `cargo add test_mod` to add it to your `Cargo.toml`

0 commit comments

Comments
 (0)