about summary refs log tree commit diff
path: root/tests/ui/attributes/crate-type-macro-not-crate.stderr
blob: ce188b3eef5f1fc209ebc986bc4f73ba9511e388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: unexpected end of macro invocation
  --> $DIR/crate-type-macro-not-crate.rs:8:16
   |
LL | macro_rules! foo {
   | ---------------- when calling this macro
...
LL | #[crate_type = foo!()]
   |                ^^^^^^ missing tokens in macro arguments
   |
note: while trying to match meta-variable `$x:expr`
  --> $DIR/crate-type-macro-not-crate.rs:5:6
   |
LL |     ($x:expr) => {"rlib"}
   |      ^^^^^^^

error: aborting due to 1 previous error