blob: a4967e4f12e93543bff2e35658a1f83160b54743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: cannot find macro `foo` in this scope
--> $DIR/crate-type-macro-not-found.rs:2:16
|
LL | #[crate_type = foo!()]
| ^^^ consider moving the definition of `foo` before this call
|
note: a macro with the same name exists, but it appears later
--> $DIR/crate-type-macro-not-found.rs:4:14
|
LL | macro_rules! foo {
| ^^^
error: aborting due to 1 previous error
|