]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/no_crate_type.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / no_crate_type.stderr
index 9d691f3eb54cadb0228c5cad291f20281927ff2f..6b76ab68658cde56a16daf4e45991e1bf74a3821 100644 (file)
@@ -1,10 +1,8 @@
-error: `crate_type` requires a value
+error: attribute must be of the form `#[crate_type = "bin|lib|..."]`
   --> $DIR/no_crate_type.rs:2:1
    |
-LL | #![crate_type]  //~ ERROR `crate_type` requires a value
+LL | #![crate_type]  //~ ERROR attribute must be of the form
    | ^^^^^^^^^^^^^^
-   |
-   = note: for example: `#![crate_type="lib"]`
 
 error: aborting due to previous error