]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error: 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 |
4 | LL | mod $i; |
5 | | ^^^^^^^ | |
74b04a01 | 6 | ... |
a1dfa0c6 | 7 | LL | 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 | |
12 | error: aborting due to previous error | |
13 |