Files
rust/tests/ui/conditional-compilation/test-cfg.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
454 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0425]: cannot find function `foo` in this scope
--> $DIR/test-cfg.rs:8:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | foo();
2018-08-08 14:28:26 +02:00
| ^^^ not found in this scope
|
note: found an item that was configured out
--> $DIR/test-cfg.rs:5:4
|
LL | #[cfg(all(foo, bar))] // foo AND bar
| --- the item is gated here
LL |
LL | fn foo() {}
| ^^^
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`.