]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/directory_ownership/macro-expanded-mod.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / directory_ownership / macro-expanded-mod.stderr
index c7780c869d635c55c9800240145e52c2502b2cf9..f90419247c92badae27794bd1690ebbdf6ef3164 100644 (file)
@@ -1,8 +1,8 @@
 error: Cannot declare a non-inline module inside a block unless it has a path attribute
-  --> $DIR/macro-expanded-mod.rs:4:25
+  --> $DIR/macro-expanded-mod.rs:5:9
    |
-LL |     ($i:ident) => { mod $i; }
-   |                         ^^
+LL |         mod $i;
+   |         ^^^^^^^
 ...
 LL |     mod_decl!(foo);
    |     --------------- in this macro invocation