]> git.lizzy.rs Git - rust.git/blob - tests/ui/invalid_crate_type_syntax.stderr
Rollup merge of #107777 - compiler-errors:derive_const-actually-derive-const, r=fee1...
[rust.git] / tests / ui / invalid_crate_type_syntax.stderr
1 error: malformed `crate_type` attribute input
2   --> $DIR/invalid_crate_type_syntax.rs:2:1
3    |
4 LL | #![crate_type(lib)]
5    | ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![crate_type = "bin|lib|..."]`
6
7 error: aborting due to previous error
8