summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/min_rust_version_attr.stderr
blob: 7e2135584efde60aa144b334f15ed722860406b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:13:19
   |
LL |     let log2_10 = 3.321928094887362;
   |                   ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly
   = note: `#[deny(clippy::approx_constant)]` on by default

error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:18:19
   |
LL |     let log2_10 = 3.321928094887362;
   |                   ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly

error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:28:19
   |
LL |     let log2_10 = 3.321928094887362;
   |                   ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly

error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:38:19
   |
LL |     let log2_10 = 3.321928094887362;
   |                   ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly

error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:48:19
   |
LL |     let log2_10 = 3.321928094887362;
   |                   ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly

error: approximate value of `f{32, 64}::consts::LOG2_10` found
  --> $DIR/min_rust_version_attr.rs:55:27
   |
LL |             let log2_10 = 3.321928094887362;
   |                           ^^^^^^^^^^^^^^^^^
   |
   = help: consider using the constant directly

error: aborting due to 6 previous errors