mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
29 lines
550 B
Rust
29 lines
550 B
Rust
#![allow(clippy::redundant_clone)]
|
|
#![feature(custom_inner_attributes)]
|
|
|
|
fn main() {}
|
|
|
|
fn just_under_msrv() {
|
|
#![clippy::msrv = "1.42.0"]
|
|
let log2_10 = 3.321928094887362;
|
|
}
|
|
|
|
fn meets_msrv() {
|
|
#![clippy::msrv = "1.43.0"]
|
|
let log2_10 = 3.321928094887362;
|
|
}
|
|
|
|
fn just_above_msrv() {
|
|
#![clippy::msrv = "1.44.0"]
|
|
let log2_10 = 3.321928094887362;
|
|
}
|
|
|
|
fn no_patch_under() {
|
|
#![clippy::msrv = "1.42"]
|
|
let log2_10 = 3.321928094887362;
|
|
}
|
|
|
|
fn no_patch_meets() {
|
|
#![clippy::msrv = "1.43"]
|
|
let log2_10 = 3.321928094887362;
|
|
}
|