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
416 B
Plaintext
Raw Normal View History

error: cannot find attribute `unknown` in this scope
2018-12-25 15:56:47 +00:00
--> $DIR/cfg-attr-unknown-attribute-macro-expansion.rs:3:27
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[cfg_attr(all(), unknown)]
| ^^^^^^^
2018-08-08 12:28:26 +00:00
...
LL | foo!();
2021-10-14 18:28:28 +00: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 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00