]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/no_crate_type.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / no_crate_type.stderr
index ec79420d4dd4843c0c40a769b0d94ed8eddd2c5f..f34df4e2dd143f66758a82124e847f2bc6f3623c 100644 (file)
@@ -1,8 +1,8 @@
-error: attribute must be of the form `#[crate_type = "bin|lib|..."]`
+error: malformed `crate_type` attribute input
   --> $DIR/no_crate_type.rs:2:1
    |
 LL | #![crate_type]
-   | ^^^^^^^^^^^^^^
+   | ^^^^^^^^^^^^^^ help: must be of the form: `#[crate_type = "bin|lib|..."]`
 
 error: aborting due to previous error