1 error: `crate_type` requires a value
2 --> $DIR/invalid_crate_type_syntax.rs:12:1
4 LL | #![crate_type(lib)] //~ ERROR `crate_type` requires a value
7 = note: for example: `#![crate_type="lib"]`
9 error[E0601]: `main` function not found in crate `invalid_crate_type_syntax`
11 = note: consider adding a `main` function to `$DIR/invalid_crate_type_syntax.rs`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0601`.