]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/approx_const.rs
Rollup merge of #90741 - mbartlett21:patch-4, r=dtolnay
[rust.git] / src / tools / clippy / clippy_lints / src / approx_const.rs
index fb54ac1ec511981595402d73dfd3bba329b3e903..12435eefbc4eeaf89816d09a1493c8049f85c61b 100644 (file)
@@ -33,6 +33,7 @@
     /// let x = std::f32::consts::PI;
     /// let y = std::f64::consts::FRAC_1_PI;
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub APPROX_CONSTANT,
     correctness,
     "the approximate of a known float constant (in `std::fXX::consts`)"