2 --> $DIR/replace_consts.rs:14:17
4 LL | { let foo = std::isize::MIN; };
5 | ^^^^^^^^^^^^^^^ help: try this: `isize::min_value()`
7 note: lint level defined here
8 --> $DIR/replace_consts.rs:4:9
10 LL | #![deny(clippy::replace_consts)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
14 --> $DIR/replace_consts.rs:15:17
16 LL | { let foo = std::i8::MIN; };
17 | ^^^^^^^^^^^^ help: try this: `i8::min_value()`
20 --> $DIR/replace_consts.rs:16:17
22 LL | { let foo = std::i16::MIN; };
23 | ^^^^^^^^^^^^^ help: try this: `i16::min_value()`
26 --> $DIR/replace_consts.rs:17:17
28 LL | { let foo = std::i32::MIN; };
29 | ^^^^^^^^^^^^^ help: try this: `i32::min_value()`
32 --> $DIR/replace_consts.rs:18:17
34 LL | { let foo = std::i64::MIN; };
35 | ^^^^^^^^^^^^^ help: try this: `i64::min_value()`
38 --> $DIR/replace_consts.rs:19:17
40 LL | { let foo = std::i128::MIN; };
41 | ^^^^^^^^^^^^^^ help: try this: `i128::min_value()`
44 --> $DIR/replace_consts.rs:20:17
46 LL | { let foo = std::usize::MIN; };
47 | ^^^^^^^^^^^^^^^ help: try this: `usize::min_value()`
50 --> $DIR/replace_consts.rs:21:17
52 LL | { let foo = std::u8::MIN; };
53 | ^^^^^^^^^^^^ help: try this: `u8::min_value()`
56 --> $DIR/replace_consts.rs:22:17
58 LL | { let foo = std::u16::MIN; };
59 | ^^^^^^^^^^^^^ help: try this: `u16::min_value()`
62 --> $DIR/replace_consts.rs:23:17
64 LL | { let foo = std::u32::MIN; };
65 | ^^^^^^^^^^^^^ help: try this: `u32::min_value()`
68 --> $DIR/replace_consts.rs:24:17
70 LL | { let foo = std::u64::MIN; };
71 | ^^^^^^^^^^^^^ help: try this: `u64::min_value()`
74 --> $DIR/replace_consts.rs:25:17
76 LL | { let foo = std::u128::MIN; };
77 | ^^^^^^^^^^^^^^ help: try this: `u128::min_value()`
80 --> $DIR/replace_consts.rs:27:17
82 LL | { let foo = std::isize::MAX; };
83 | ^^^^^^^^^^^^^^^ help: try this: `isize::max_value()`
86 --> $DIR/replace_consts.rs:28:17
88 LL | { let foo = std::i8::MAX; };
89 | ^^^^^^^^^^^^ help: try this: `i8::max_value()`
92 --> $DIR/replace_consts.rs:29:17
94 LL | { let foo = std::i16::MAX; };
95 | ^^^^^^^^^^^^^ help: try this: `i16::max_value()`
98 --> $DIR/replace_consts.rs:30:17
100 LL | { let foo = std::i32::MAX; };
101 | ^^^^^^^^^^^^^ help: try this: `i32::max_value()`
104 --> $DIR/replace_consts.rs:31:17
106 LL | { let foo = std::i64::MAX; };
107 | ^^^^^^^^^^^^^ help: try this: `i64::max_value()`
110 --> $DIR/replace_consts.rs:32:17
112 LL | { let foo = std::i128::MAX; };
113 | ^^^^^^^^^^^^^^ help: try this: `i128::max_value()`
116 --> $DIR/replace_consts.rs:33:17
118 LL | { let foo = std::usize::MAX; };
119 | ^^^^^^^^^^^^^^^ help: try this: `usize::max_value()`
122 --> $DIR/replace_consts.rs:34:17
124 LL | { let foo = std::u8::MAX; };
125 | ^^^^^^^^^^^^ help: try this: `u8::max_value()`
128 --> $DIR/replace_consts.rs:35:17
130 LL | { let foo = std::u16::MAX; };
131 | ^^^^^^^^^^^^^ help: try this: `u16::max_value()`
134 --> $DIR/replace_consts.rs:36:17
136 LL | { let foo = std::u32::MAX; };
137 | ^^^^^^^^^^^^^ help: try this: `u32::max_value()`
140 --> $DIR/replace_consts.rs:37:17
142 LL | { let foo = std::u64::MAX; };
143 | ^^^^^^^^^^^^^ help: try this: `u64::max_value()`
146 --> $DIR/replace_consts.rs:38:17
148 LL | { let foo = std::u128::MAX; };
149 | ^^^^^^^^^^^^^^ help: try this: `u128::max_value()`
151 error: aborting due to 24 previous errors