mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 08:16:56 +00:00
6 lines
276 B
Rust
6 lines
276 B
Rust
// Ensure we validate `#![crate_name]` on print requests and reject macro calls inside of it.
|
|
// See also <https://github.com/rust-lang/rust/issues/122001>.
|
|
|
|
//@ compile-flags: --print=crate-name
|
|
#![crate_name = concat!("wrapped")] //~ ERROR attribute value must be a literal
|