rust/tests/ui/parser/bad-crate-name.rs

6 lines
172 B
Rust

extern crate krate-name-here;
//~^ ERROR crate name using dashes are not valid in `extern crate` statements
//~| ERROR can't find crate for `krate_name_here`
fn main() {}