Mark submod.rs as auxiliary so compiletest skips it

This commit is contained in:
Dnreikronos
2026-05-27 16:57:06 -03:00
parent bb92226b4b
commit 59debaf661
2 changed files with 2 additions and 1 deletions
@@ -1,5 +1,5 @@
error: the `#![crate_name]` attribute can only be used at the crate root
--> $DIR/submod.rs:1:1
--> $DIR/submod.rs:2:1
|
LL | #![crate_name = "bar"]
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -1 +1,2 @@
//@ ignore-auxiliary (used by `./crate-root-path-in-different-file.rs`)
#![crate_name = "bar"]