2018-08-08 14:28:26 +02:00
|
|
|
error[E0425]: cannot find function `f` in this scope
|
2025-06-29 21:05:19 +05:00
|
|
|
--> $DIR/nested-cfg-attr-conditional-compilation.rs:17:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2025-06-29 21:05:19 +05:00
|
|
|
LL | f()
|
|
|
|
|
| ^ not found in this scope
|
2024-08-17 05:45:10 +00:00
|
|
|
|
|
|
|
|
|
note: found an item that was configured out
|
|
|
|
|
--> $DIR/nested-cfg-attr-conditional-compilation.rs:14:4
|
|
|
|
|
|
|
2025-08-01 23:58:15 +00:00
|
|
|
LL | #[cfg_attr(all(), cfg_attr(all(), cfg(false)))]
|
|
|
|
|
| ----- the item is gated here
|
2024-08-17 05:45:10 +00:00
|
|
|
LL | fn f() {}
|
|
|
|
|
| ^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|