mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
297 B
Plaintext
11 lines
297 B
Plaintext
error: can't use a procedural macro from the same crate that defines it
|
|
--> $DIR/test-same-crate.rs:13:14
|
|
|
|
|
LL | fn t() { crate::mac!(A) }
|
|
| ^^^^^^^^^^
|
|
|
|
|
= help: you can define integration tests in a directory named `tests`
|
|
|
|
error: aborting due to 1 previous error
|
|
|