]> git.proxmox.com Git - rustc.git/blame - src/test/ui/directory_ownership/macro-expanded-mod.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / directory_ownership / macro-expanded-mod.stderr
CommitLineData
6a06907d 1error: cannot declare a non-inline module inside a block unless it has a path attribute
ba9703b0 2 --> $DIR/macro-expanded-mod.rs:5:9
b7449926 3 |
ba9703b0
XL
4LL | mod $i;
5 | ^^^^^^^
74b04a01 6...
a1dfa0c6 7LL | mod_decl!(foo);
74b04a01
XL
8 | --------------- in this macro invocation
9 |
17df50a5 10 = note: this error originates in the macro `mod_decl` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
11
12error: aborting due to previous error
13