1 error: crate name using dashes are not valid in `extern crate` statements
2 --> $DIR/bad-crate-name.rs:1:14
4 LL | extern crate krate-name-here;
5 | ^^^^^^^^^^^^^^^ dash-separated idents are not valid
7 help: if the original crate name uses dashes you need to use underscores in the code
9 LL | extern crate krate_name_here;
12 error[E0463]: can't find crate for `krate_name_here`
13 --> $DIR/bad-crate-name.rs:1:1
15 LL | extern crate krate-name-here;
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0463`.