blob: 19d2745577be11479f38d34f250d6ceb8e2bc7f0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
 | error: cannot find macro `foo` in this scope
  --> $DIR/path-attr-in-const-block.rs:6:19
   |
LL |         #![path = foo!()]
   |                   ^^^
error: attribute value must be a literal
  --> $DIR/path-attr-in-const-block.rs:6:19
   |
LL |         #![path = foo!()]
   |                   ^^^^^^
error: aborting due to 2 previous errors
 |