blob: 0b5942a287d03b599db4163ab2c90f885eb752c2 [file] [log] [blame] [edit]
error: cannot find macro `foo` in this scope
--> $DIR/path-attr-in-const-block.rs:6:19
|
LL | #![path = foo!()]
| ^^^
error[E0539]: malformed `path` attribute input
--> $DIR/path-attr-in-const-block.rs:6:9
|
LL | #![path = foo!()]
| ^^^^^^^^^^------^
| | |
| | expected a string literal here
| help: must be of the form: `#[path = "file"]`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0539`.