1 error: this min/max combination leads to constant result
4 15 | min(1, max(3, x));
7 = note: `-D min-max` implied by `-D warnings`
9 error: this min/max combination leads to constant result
12 16 | min(max(3, x), 1);
15 = note: `-D min-max` implied by `-D warnings`
17 error: this min/max combination leads to constant result
20 17 | max(min(x, 1), 3);
23 = note: `-D min-max` implied by `-D warnings`
25 error: this min/max combination leads to constant result
28 18 | max(3, min(x, 1));
31 = note: `-D min-max` implied by `-D warnings`
33 error: this min/max combination leads to constant result
36 20 | my_max(3, my_min(x, 1));
37 | ^^^^^^^^^^^^^^^^^^^^^^^
39 = note: `-D min-max` implied by `-D warnings`
41 error: this min/max combination leads to constant result
44 29 | min("Apple", max("Zoo", s));
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = note: `-D min-max` implied by `-D warnings`
49 error: this min/max combination leads to constant result
52 30 | max(min(s, "Apple"), "Zoo");
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 = note: `-D min-max` implied by `-D warnings`
57 error: aborting due to previous error(s)
59 error: Could not compile `clippy_tests`.
61 To learn more, run the command again with --verbose.