rust/tests/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr

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

14 lines
414 B
Plaintext
Raw Normal View History

error: cannot find attribute `unknown` in this scope
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
|
2019-03-09 15:03:44 +03:00
LL | #[cfg_attr(all(), unknown)]
| ^^^^^^^
2018-08-08 14:28:26 +02:00
...
LL | foo!();
2021-10-14 13:28:28 -05:00
| ------ in this macro invocation
|
= note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 14:28:26 +02:00
error: aborting due to previous error