1
Fork 0
rust/src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr

15 lines
576 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0658]: The attribute `unknown` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
2018-12-25 08:56:47 -07:00
--> $DIR/cfg-attr-unknown-attribute-macro-expansion.rs:3:27
2018-08-08 14:28:26 +02:00
|
LL | #[cfg_attr(all(), unknown)] //~ ERROR `unknown` is currently unknown
| ^^^^^^^
2018-08-08 14:28:26 +02:00
...
LL | foo!();
| ------- in this macro invocation
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.