]> git.lizzy.rs Git - rust.git/blob - src/test/ui/directory_ownership/macro-expanded-mod.stderr
Rollup merge of #69562 - ecstatic-morse:dataflow-generator-discriminant, r=oli-obk
[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:4:25
3    |
4 LL |     ($i:ident) => { mod $i; }
5    |                         ^^
6 ...
7 LL |     mod_decl!(foo);
8    |     --------------- in this macro invocation
9    |
10    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13