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