diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr b/src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr new file mode 100644 index 000000000..fc8df6552 --- /dev/null +++ b/src/test/ui/conditional-compilation/cfg-attr-unknown-attribute-macro-expansion.stderr @@ -0,0 +1,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 + |