]> git.lizzy.rs Git - rust.git/blob - src/test/ui/directory_ownership/macro-expanded-mod.stderr
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / test / ui / directory_ownership / macro-expanded-mod.stderr
1 error: cannot declare a non-inline module inside a block unless it has a path attribute
2   --> $DIR/macro-expanded-mod.rs:5:9
3    |
4 LL |         mod $i;
5    |         ^^^^^^^
6 ...
7 LL |     mod_decl!(foo);
8    |     --------------- in this macro invocation
9    |
10    = note: this error originates in the macro `mod_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13