mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

For the most part, the macro actually worked with _ slugs, but the prefix_something -> prefix::something conversion was not implemented. We don't want to accept - slugs for consistency reasons. We thus error if a name is found with - inside. This ensures a consistent style.