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:
parent
3b4ff16bb1
commit
46d53a68aa
8 changed files with 3 additions and 3 deletions
|
@ -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|..."]`
|
Loading…
Add table
Add a link
Reference in a new issue