Files
rust/tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr

18 lines
538 B
Plaintext
Raw Normal View History

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
|
note: found an item that was configured out
--> $DIR/nested-cfg-attr-conditional-compilation.rs:14:4
|
LL | #[cfg_attr(all(), cfg_attr(all(), cfg(false)))]
| ----- the item is gated here
LL | fn f() {}
| ^
2018-08-08 14:28:26 +02: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`.