1
Fork 0

Move #![crate_type] UI tests into attributes directory

Gets rid of two top-level UI tests which is always great.

Furthermore, move `need-crate-arg-ignore-tidy$x.rs`
from `command/` to `invalid-compile-flags/`.
`command/` concerns `std::process::Command` tests, not CLI tests.
This commit is contained in:
León Orell Valerian Liehr 2024-07-10 17:22:40 +02:00
parent 3b4ff16bb1
commit 46d53a68aa
No known key found for this signature in database
GPG key ID: D17A07215F68E713
8 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
error: malformed `crate_type` attribute input
--> $DIR/invalid_crate_type_syntax.rs:2:1
--> $DIR/crate-type-delimited.rs:2:1
|
LL | #![crate_type(lib)]
| ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![crate_type = "bin|lib|..."]`

View file

@ -1,5 +1,5 @@
error: malformed `crate_type` attribute input
--> $DIR/no_crate_type.rs:2:1
--> $DIR/crate-type-empty.rs:2:1
|
LL | #![crate_type]
| ^^^^^^^^^^^^^^ help: must be of the form: `#![crate_type = "bin|lib|..."]`

View file

@ -1,5 +1,5 @@
error: malformed `crate_type` attribute input
--> $DIR/invalid-crate-type-macro.rs:1:1
--> $DIR/crate-type-macro-call.rs:1:1
|
LL | #![crate_type = foo!()]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![crate_type = "bin|lib|..."]`