Skip to content

Commit 59debaf

Browse files
committed
Mark submod.rs as auxiliary so compiletest skips it
1 parent bb92226 commit 59debaf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tests/ui/attributes/crate-root-path-in-different-file/crate-root-path-in-different-file.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: the `#![crate_name]` attribute can only be used at the crate root
2-
--> $DIR/submod.rs:1:1
2+
--> $DIR/submod.rs:2:1
33
|
44
LL | #![crate_name = "bar"]
55
| ^^^^^^^^^^^^^^^^^^^^^^
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
//@ ignore-auxiliary (used by `./crate-root-path-in-different-file.rs`)
12
#![crate_name = "bar"]

0 commit comments

Comments
 (0)