mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 20:17:50 +00:00
7 lines
237 B
Rust
7 lines
237 B
Rust
// issue: rust-lang/rust#122001
|
|
// Ensure we reject macro calls inside `#![crate_name]` as their result wouldn't get honored anyway.
|
|
|
|
#![crate_name = concat!("my", "crate")] //~ ERROR malformed `crate_name` attribute input
|
|
|
|
fn main() {}
|