2021-02-22 18:22:40 +00:00
|
|
|
error: cannot declare a non-inline module inside a block unless it has a path attribute
|
2020-03-09 10:16:00 +00:00
|
|
|
--> $DIR/macro-expanded-mod.rs:5:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-03-09 10:16:00 +00:00
|
|
|
LL | mod $i;
|
|
|
|
| ^^^^^^^
|
|
|
|
...
|
2018-11-06 00:27:28 +00:00
|
|
|
LL | mod_decl!(foo);
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------- in this macro invocation
|
2020-03-09 10:16:00 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `mod_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|