mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
d0111cb57a
We're trying to test lint behavior, not per-target crate-type support.
9 lines
144 B
Rust
9 lines
144 B
Rust
//@ only-x86_64-unknown-linux-gnu
|
|
//@ check-pass
|
|
#![crate_type = "bin"]
|
|
#![crate_name = "NonSnakeCase"]
|
|
|
|
#![deny(non_snake_case)]
|
|
|
|
fn main() {}
|