rust/tests/ui/directory_ownership/macro-expanded-mod.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
415 B
Plaintext
Raw Normal View History

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