mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Mark submod.rs as auxiliary so compiletest skips it
This commit is contained in:
+1
-1
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user