Skip to content

Commit e9f6a7c

Browse files
committed
whitespace
1 parent e2d7ef9 commit e9f6a7c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

tests/ui/replace_consts.stderr

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,174 +9,210 @@ note: lint level defined here
99
|
1010
3 | #![deny(replace_consts)]
1111
| ^^^^^^^^^^^^^^
12+
1213
error: using `ATOMIC_ISIZE_INIT`
1314
--> $DIR/replace_consts.rs:17:17
1415
|
1516
17 | { let foo = ATOMIC_ISIZE_INIT; };
1617
| ^^^^^^^^^^^^^^^^^ help: try this: `AtomicIsize::new(0)`
18+
1719
error: using `ATOMIC_I8_INIT`
1820
--> $DIR/replace_consts.rs:18:17
1921
|
2022
18 | { let foo = ATOMIC_I8_INIT; };
2123
| ^^^^^^^^^^^^^^ help: try this: `AtomicI8::new(0)`
24+
2225
error: using `ATOMIC_I16_INIT`
2326
--> $DIR/replace_consts.rs:19:17
2427
|
2528
19 | { let foo = ATOMIC_I16_INIT; };
2629
| ^^^^^^^^^^^^^^^ help: try this: `AtomicI16::new(0)`
30+
2731
error: using `ATOMIC_I32_INIT`
2832
--> $DIR/replace_consts.rs:20:17
2933
|
3034
20 | { let foo = ATOMIC_I32_INIT; };
3135
| ^^^^^^^^^^^^^^^ help: try this: `AtomicI32::new(0)`
36+
3237
error: using `ATOMIC_I64_INIT`
3338
--> $DIR/replace_consts.rs:21:17
3439
|
3540
21 | { let foo = ATOMIC_I64_INIT; };
3641
| ^^^^^^^^^^^^^^^ help: try this: `AtomicI64::new(0)`
42+
3743
error: using `ATOMIC_USIZE_INIT`
3844
--> $DIR/replace_consts.rs:22:17
3945
|
4046
22 | { let foo = ATOMIC_USIZE_INIT; };
4147
| ^^^^^^^^^^^^^^^^^ help: try this: `AtomicUsize::new(0)`
48+
4249
error: using `ATOMIC_U8_INIT`
4350
--> $DIR/replace_consts.rs:23:17
4451
|
4552
23 | { let foo = ATOMIC_U8_INIT; };
4653
| ^^^^^^^^^^^^^^ help: try this: `AtomicU8::new(0)`
54+
4755
error: using `ATOMIC_U16_INIT`
4856
--> $DIR/replace_consts.rs:24:17
4957
|
5058
24 | { let foo = ATOMIC_U16_INIT; };
5159
| ^^^^^^^^^^^^^^^ help: try this: `AtomicU16::new(0)`
60+
5261
error: using `ATOMIC_U32_INIT`
5362
--> $DIR/replace_consts.rs:25:17
5463
|
5564
25 | { let foo = ATOMIC_U32_INIT; };
5665
| ^^^^^^^^^^^^^^^ help: try this: `AtomicU32::new(0)`
66+
5767
error: using `ATOMIC_U64_INIT`
5868
--> $DIR/replace_consts.rs:26:17
5969
|
6070
26 | { let foo = ATOMIC_U64_INIT; };
6171
| ^^^^^^^^^^^^^^^ help: try this: `AtomicU64::new(0)`
72+
6273
error: using `MIN`
6374
--> $DIR/replace_consts.rs:28:17
6475
|
6576
28 | { let foo = std::isize::MIN; };
6677
| ^^^^^^^^^^^^^^^ help: try this: `isize::min_value()`
78+
6779
error: using `MIN`
6880
--> $DIR/replace_consts.rs:29:17
6981
|
7082
29 | { let foo = std::i8::MIN; };
7183
| ^^^^^^^^^^^^ help: try this: `i8::min_value()`
84+
7285
error: using `MIN`
7386
--> $DIR/replace_consts.rs:30:17
7487
|
7588
30 | { let foo = std::i16::MIN; };
7689
| ^^^^^^^^^^^^^ help: try this: `i16::min_value()`
90+
7791
error: using `MIN`
7892
--> $DIR/replace_consts.rs:31:17
7993
|
8094
31 | { let foo = std::i32::MIN; };
8195
| ^^^^^^^^^^^^^ help: try this: `i32::min_value()`
96+
8297
error: using `MIN`
8398
--> $DIR/replace_consts.rs:32:17
8499
|
85100
32 | { let foo = std::i64::MIN; };
86101
| ^^^^^^^^^^^^^ help: try this: `i64::min_value()`
102+
87103
error: using `MIN`
88104
--> $DIR/replace_consts.rs:33:17
89105
|
90106
33 | { let foo = std::i128::MIN; };
91107
| ^^^^^^^^^^^^^^ help: try this: `i128::min_value()`
108+
92109
error: using `MIN`
93110
--> $DIR/replace_consts.rs:34:17
94111
|
95112
34 | { let foo = std::usize::MIN; };
96113
| ^^^^^^^^^^^^^^^ help: try this: `usize::min_value()`
114+
97115
error: using `MIN`
98116
--> $DIR/replace_consts.rs:35:17
99117
|
100118
35 | { let foo = std::u8::MIN; };
101119
| ^^^^^^^^^^^^ help: try this: `u8::min_value()`
120+
102121
error: using `MIN`
103122
--> $DIR/replace_consts.rs:36:17
104123
|
105124
36 | { let foo = std::u16::MIN; };
106125
| ^^^^^^^^^^^^^ help: try this: `u16::min_value()`
126+
107127
error: using `MIN`
108128
--> $DIR/replace_consts.rs:37:17
109129
|
110130
37 | { let foo = std::u32::MIN; };
111131
| ^^^^^^^^^^^^^ help: try this: `u32::min_value()`
132+
112133
error: using `MIN`
113134
--> $DIR/replace_consts.rs:38:17
114135
|
115136
38 | { let foo = std::u64::MIN; };
116137
| ^^^^^^^^^^^^^ help: try this: `u64::min_value()`
138+
117139
error: using `MIN`
118140
--> $DIR/replace_consts.rs:39:17
119141
|
120142
39 | { let foo = std::u128::MIN; };
121143
| ^^^^^^^^^^^^^^ help: try this: `u128::min_value()`
144+
122145
error: using `MAX`
123146
--> $DIR/replace_consts.rs:41:17
124147
|
125148
41 | { let foo = std::isize::MAX; };
126149
| ^^^^^^^^^^^^^^^ help: try this: `isize::max_value()`
150+
127151
error: using `MAX`
128152
--> $DIR/replace_consts.rs:42:17
129153
|
130154
42 | { let foo = std::i8::MAX; };
131155
| ^^^^^^^^^^^^ help: try this: `i8::max_value()`
156+
132157
error: using `MAX`
133158
--> $DIR/replace_consts.rs:43:17
134159
|
135160
43 | { let foo = std::i16::MAX; };
136161
| ^^^^^^^^^^^^^ help: try this: `i16::max_value()`
162+
137163
error: using `MAX`
138164
--> $DIR/replace_consts.rs:44:17
139165
|
140166
44 | { let foo = std::i32::MAX; };
141167
| ^^^^^^^^^^^^^ help: try this: `i32::max_value()`
168+
142169
error: using `MAX`
143170
--> $DIR/replace_consts.rs:45:17
144171
|
145172
45 | { let foo = std::i64::MAX; };
146173
| ^^^^^^^^^^^^^ help: try this: `i64::max_value()`
174+
147175
error: using `MAX`
148176
--> $DIR/replace_consts.rs:46:17
149177
|
150178
46 | { let foo = std::i128::MAX; };
151179
| ^^^^^^^^^^^^^^ help: try this: `i128::max_value()`
180+
152181
error: using `MAX`
153182
--> $DIR/replace_consts.rs:47:17
154183
|
155184
47 | { let foo = std::usize::MAX; };
156185
| ^^^^^^^^^^^^^^^ help: try this: `usize::max_value()`
186+
157187
error: using `MAX`
158188
--> $DIR/replace_consts.rs:48:17
159189
|
160190
48 | { let foo = std::u8::MAX; };
161191
| ^^^^^^^^^^^^ help: try this: `u8::max_value()`
192+
162193
error: using `MAX`
163194
--> $DIR/replace_consts.rs:49:17
164195
|
165196
49 | { let foo = std::u16::MAX; };
166197
| ^^^^^^^^^^^^^ help: try this: `u16::max_value()`
198+
167199
error: using `MAX`
168200
--> $DIR/replace_consts.rs:50:17
169201
|
170202
50 | { let foo = std::u32::MAX; };
171203
| ^^^^^^^^^^^^^ help: try this: `u32::max_value()`
204+
172205
error: using `MAX`
173206
--> $DIR/replace_consts.rs:51:17
174207
|
175208
51 | { let foo = std::u64::MAX; };
176209
| ^^^^^^^^^^^^^ help: try this: `u64::max_value()`
210+
177211
error: using `MAX`
178212
--> $DIR/replace_consts.rs:52:17
179213
|
180214
52 | { let foo = std::u128::MAX; };
181215
| ^^^^^^^^^^^^^^ help: try this: `u128::max_value()`
216+
182217
error: aborting due to 35 previous errors
218+

0 commit comments

Comments
 (0)