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:
@@ -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|..."]`
|
||||
@@ -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|..."]`
|
||||
@@ -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|..."]`
|
||||
Reference in New Issue
Block a user