]> git.lizzy.rs Git - rust.git/blob - src/test/ui/directory_ownership/macro-expanded-mod.stderr
Auto merge of #89229 - oli-obk:i_love_inferctxt, r=jackh726
[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