rust/tests/ui/lint/lint-non-snake-case-crate-bin3.rs
许杰友 Jieyou Xu (Joe) d0111cb57a
Only run lint tests on x86_64-unknown-linux-gnu
We're trying to test lint behavior, not per-target crate-type support.
2024-03-03 13:58:35 +00:00

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() {}