2023-08-18 13:23:53 +02:00
|
|
|
//@ compile-flags: --extern=my-awesome-library=libawesome.rlib
|
|
|
|
|
|
|
|
|
|
// In a sense, this is a regression test for issue #113035. We no longer suggest
|
|
|
|
|
// `pub use my-awesome-library::*;` (sic!) as we outright ban this crate name.
|
|
|
|
|
|
|
|
|
|
pub use my_awesome_library::*;
|
|
|
|
|
|
|
|
|
|
fn main() {}
|
2025-03-29 02:41:32 +03:00
|
|
|
|
|
|
|
|
//~? ERROR crate name `my-awesome-library` passed to `--extern` is not a valid ASCII identifier
|
2025-04-12 22:40:34 +03:00
|
|
|
//~? HELP consider replacing the dashes with underscores: `my_awesome_library`
|