2020-12-06 14:01:03 +00:00
|
|
|
#![allow(clippy::redundant_clone)]
|
|
|
|
#![feature(custom_inner_attributes)]
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn main() {}
|
2020-12-06 14:01:03 +00:00
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn just_under_msrv() {
|
|
|
|
#![clippy::msrv = "1.42.0"]
|
2021-09-08 14:31:47 +00:00
|
|
|
let log2_10 = 3.321928094887362;
|
|
|
|
}
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn meets_msrv() {
|
|
|
|
#![clippy::msrv = "1.43.0"]
|
|
|
|
let log2_10 = 3.321928094887362;
|
2020-12-06 14:01:03 +00:00
|
|
|
}
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn just_above_msrv() {
|
2021-12-06 11:33:31 +00:00
|
|
|
#![clippy::msrv = "1.44.0"]
|
2022-10-23 13:18:45 +00:00
|
|
|
let log2_10 = 3.321928094887362;
|
2020-12-06 14:01:03 +00:00
|
|
|
}
|
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn no_patch_under() {
|
|
|
|
#![clippy::msrv = "1.42"]
|
|
|
|
let log2_10 = 3.321928094887362;
|
2020-12-06 14:01:03 +00:00
|
|
|
}
|
2022-06-30 08:50:09 +00:00
|
|
|
|
2022-10-23 13:18:45 +00:00
|
|
|
fn no_patch_meets() {
|
|
|
|
#![clippy::msrv = "1.43"]
|
|
|
|
let log2_10 = 3.321928094887362;
|
2022-06-30 08:50:09 +00:00
|
|
|
}
|