mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
10 lines
207 B
Rust
10 lines
207 B
Rust
//! Checks proper validation of the `#![crate_name]` attribute.
|
|
|
|
//@ run-pass
|
|
//@ compile-flags:--crate-name crate_name_attr_used -F unused-attributes
|
|
|
|
|
|
#![crate_name = "crate_name_attr_used"]
|
|
|
|
fn main() {}
|