2021-10-20 09:34:21 +02:00
|
|
|
error: `cfg` attributes are not allowed for `export_fn`
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/export_fn_cfg.rs:9:1
|
2020-08-22 05:30:10 +02:00
|
|
|
|
|
|
|
|
9 | #[cfg(not(feature = "foo"))]
|
2022-12-16 04:17:25 +01:00
|
|
|
| ^
|
2020-08-22 05:30:10 +02:00
|
|
|
|
|
|
|
error[E0425]: cannot find function `test_fn` in this scope
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/export_fn_cfg.rs:20:8
|
2020-08-22 05:30:10 +02:00
|
|
|
|
|
|
|
|
20 | if test_fn(n) {
|
|
|
|
| ^^^^^^^ not found in this scope
|