]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/directory_ownership/macro-expanded-mod.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / directory_ownership / macro-expanded-mod.stderr
index 620a00f89bb95f1a093b642c9e75552d23c059ec..f90419247c92badae27794bd1690ebbdf6ef3164 100644 (file)
@@ -1,8 +1,13 @@
 error: Cannot declare a non-inline module inside a block unless it has a path attribute
-  --> $DIR/macro-expanded-mod.rs:12:15
+  --> $DIR/macro-expanded-mod.rs:5:9
    |
+LL |         mod $i;
+   |         ^^^^^^^
+...
 LL |     mod_decl!(foo);
-   |               ^^^
+   |     --------------- in this macro invocation
+   |
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error