mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
18 lines
344 B
Rust
18 lines
344 B
Rust
#![feature(custom_inner_attributes)]
|
|
#![clippy::msrv = "invalid.version"]
|
|
|
|
fn main() {}
|
|
|
|
#[clippy::msrv = "invalid.version"]
|
|
fn outer_attr() {}
|
|
|
|
mod multiple {
|
|
#![clippy::msrv = "1.40"]
|
|
#![clippy::msrv = "=1.35.0"]
|
|
#![clippy::msrv = "1.10.1"]
|
|
|
|
mod foo {
|
|
#![clippy::msrv = "1"]
|
|
#![clippy::msrv = "1.0.0"]
|
|
}
|
|
}
|