mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
d0111cb57a
We're trying to test lint behavior, not per-target crate-type support.
8 lines
191 B
Rust
8 lines
191 B
Rust
//@ only-x86_64-unknown-linux-gnu
|
|
#![crate_type = "rlib"]
|
|
#![crate_name = "NonSnakeCase"]
|
|
//~^ ERROR crate `NonSnakeCase` should have a snake case name
|
|
#![deny(non_snake_case)]
|
|
|
|
fn main() {}
|