summaryrefslogtreecommitdiffstats
path: root/src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr
blob: fc8df6552c3e1af600be40b87838d77bc2a90b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: cannot find attribute `unknown` in this scope
  --> $DIR/cfg-attr-unknown-attribute-macro-expansion.rs:3:27
   |
LL |         #[cfg_attr(all(), unknown)]
   |                           ^^^^^^^
...
LL | foo!();
   | ------ in this macro invocation
   |
   = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error