2020-08-08 04:19:17 +02:00
|
|
|
error: unknown attribute 'unknown'
|
|
|
|
--> $DIR/export_fn_bad_attr.rs:9:13
|
|
|
|
|
|
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
|
|
|
|
--> $DIR/export_fn_bad_attr.rs:19:8
|
|
|
|
|
|
|
|
|
19 | if test_fn(n) {
|
|
|
|
| ^^^^^^^ not found in this scope
|