rhai/codegen/ui_tests/export_fn_bad_attr.stderr

14 lines
706 B
Plaintext
Raw Normal View History

2021-10-20 09:34:21 +02:00
WARN rustc_metadata::locator no metadata found: failed to mmap rmeta metadata: '\\?\$WORKSPACE/target\tests\target\x86_64-pc-windows-msvc\debug\deps\librhai_codegen_tests-13fbbdaa684db49e.rmeta'
WARN rustc_metadata::locator no metadata found: failed to mmap rmeta metadata: '\\?\$WORKSPACE/target\tests\target\x86_64-pc-windows-msvc\debug\deps\librhai_codegen_tests-1b00becb051b9b4f.rmeta'
2020-08-08 04:19:17 +02:00
error: unknown attribute 'unknown'
2021-10-20 09:34:21 +02:00
--> ui_tests/export_fn_bad_attr.rs:9:13
2020-08-08 04:19:17 +02:00
|
2020-08-09 21:19:39 +02:00
9 | #[export_fn(unknown = "thing")]
2020-08-08 04:19:17 +02:00
| ^^^^^^^
error[E0425]: cannot find function `test_fn` in this scope
2021-10-20 09:34:21 +02:00
--> ui_tests/export_fn_bad_attr.rs:19:8
2020-08-08 04:19:17 +02:00
|
19 | if test_fn(n) {
| ^^^^^^^ not found in this scope