1 error[E0308]: mismatched types
2 --> $DIR/numeric-cast-binop.rs:23:16
5 | ---- ^^^^^ expected `u8`, found `u16`
7 | expected because this is `u8`
9 help: you can convert `x_u8` from `u8` to `u16`, matching the type of `x_u16`
11 LL | u16::from(x_u8) > x_u16;
14 error[E0308]: mismatched types
15 --> $DIR/numeric-cast-binop.rs:25:16
18 | ---- ^^^^^ expected `u8`, found `u32`
20 | expected because this is `u8`
22 help: you can convert `x_u8` from `u8` to `u32`, matching the type of `x_u32`
24 LL | u32::from(x_u8) > x_u32;
27 error[E0308]: mismatched types
28 --> $DIR/numeric-cast-binop.rs:27:16
31 | ---- ^^^^^ expected `u8`, found `u64`
33 | expected because this is `u8`
35 help: you can convert `x_u8` from `u8` to `u64`, matching the type of `x_u64`
37 LL | u64::from(x_u8) > x_u64;
40 error[E0308]: mismatched types
41 --> $DIR/numeric-cast-binop.rs:29:16
44 | ---- ^^^^^^ expected `u8`, found `u128`
46 | expected because this is `u8`
48 help: you can convert `x_u8` from `u8` to `u128`, matching the type of `x_u128`
50 LL | u128::from(x_u8) > x_u128;
53 error[E0308]: mismatched types
54 --> $DIR/numeric-cast-binop.rs:31:16
57 | ---- ^^^^^^^ expected `u8`, found `usize`
59 | expected because this is `u8`
61 help: you can convert `x_u8` from `u8` to `usize`, matching the type of `x_usize`
63 LL | usize::from(x_u8) > x_usize;
66 error[E0308]: mismatched types
67 --> $DIR/numeric-cast-binop.rs:34:17
70 | ----- ^^^^ expected `u16`, found `u8`
72 | expected because this is `u16`
74 help: you can convert a `u8` to a `u16`
76 LL | x_u16 > x_u8.into();
79 error[E0308]: mismatched types
80 --> $DIR/numeric-cast-binop.rs:36:17
83 | ----- ^^^^^ expected `u16`, found `u32`
85 | expected because this is `u16`
87 help: you can convert `x_u16` from `u16` to `u32`, matching the type of `x_u32`
89 LL | u32::from(x_u16) > x_u32;
92 error[E0308]: mismatched types
93 --> $DIR/numeric-cast-binop.rs:38:17
96 | ----- ^^^^^ expected `u16`, found `u64`
98 | expected because this is `u16`
100 help: you can convert `x_u16` from `u16` to `u64`, matching the type of `x_u64`
102 LL | u64::from(x_u16) > x_u64;
105 error[E0308]: mismatched types
106 --> $DIR/numeric-cast-binop.rs:40:17
109 | ----- ^^^^^^ expected `u16`, found `u128`
111 | expected because this is `u16`
113 help: you can convert `x_u16` from `u16` to `u128`, matching the type of `x_u128`
115 LL | u128::from(x_u16) > x_u128;
118 error[E0308]: mismatched types
119 --> $DIR/numeric-cast-binop.rs:42:17
121 LL | x_u16 > x_usize;
122 | ----- ^^^^^^^ expected `u16`, found `usize`
124 | expected because this is `u16`
126 help: you can convert `x_u16` from `u16` to `usize`, matching the type of `x_usize`
128 LL | usize::from(x_u16) > x_usize;
131 error[E0308]: mismatched types
132 --> $DIR/numeric-cast-binop.rs:45:17
135 | ----- ^^^^ expected `u32`, found `u8`
137 | expected because this is `u32`
139 help: you can convert a `u8` to a `u32`
141 LL | x_u32 > x_u8.into();
144 error[E0308]: mismatched types
145 --> $DIR/numeric-cast-binop.rs:47:17
148 | ----- ^^^^^ expected `u32`, found `u16`
150 | expected because this is `u32`
152 help: you can convert a `u16` to a `u32`
154 LL | x_u32 > x_u16.into();
157 error[E0308]: mismatched types
158 --> $DIR/numeric-cast-binop.rs:49:17
161 | ----- ^^^^^ expected `u32`, found `u64`
163 | expected because this is `u32`
165 help: you can convert `x_u32` from `u32` to `u64`, matching the type of `x_u64`
167 LL | u64::from(x_u32) > x_u64;
170 error[E0308]: mismatched types
171 --> $DIR/numeric-cast-binop.rs:51:17
174 | ----- ^^^^^^ expected `u32`, found `u128`
176 | expected because this is `u32`
178 help: you can convert `x_u32` from `u32` to `u128`, matching the type of `x_u128`
180 LL | u128::from(x_u32) > x_u128;
183 error[E0308]: mismatched types
184 --> $DIR/numeric-cast-binop.rs:53:17
186 LL | x_u32 > x_usize;
187 | ----- ^^^^^^^ expected `u32`, found `usize`
189 | expected because this is `u32`
191 help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
193 LL | x_u32 > x_usize.try_into().unwrap();
194 | ++++++++++++++++++++
196 error[E0308]: mismatched types
197 --> $DIR/numeric-cast-binop.rs:56:17
200 | ----- ^^^^ expected `u64`, found `u8`
202 | expected because this is `u64`
204 help: you can convert a `u8` to a `u64`
206 LL | x_u64 > x_u8.into();
209 error[E0308]: mismatched types
210 --> $DIR/numeric-cast-binop.rs:58:17
213 | ----- ^^^^^ expected `u64`, found `u16`
215 | expected because this is `u64`
217 help: you can convert a `u16` to a `u64`
219 LL | x_u64 > x_u16.into();
222 error[E0308]: mismatched types
223 --> $DIR/numeric-cast-binop.rs:60:17
226 | ----- ^^^^^ expected `u64`, found `u32`
228 | expected because this is `u64`
230 help: you can convert a `u32` to a `u64`
232 LL | x_u64 > x_u32.into();
235 error[E0308]: mismatched types
236 --> $DIR/numeric-cast-binop.rs:62:17
239 | ----- ^^^^^^ expected `u64`, found `u128`
241 | expected because this is `u64`
243 help: you can convert `x_u64` from `u64` to `u128`, matching the type of `x_u128`
245 LL | u128::from(x_u64) > x_u128;
248 error[E0308]: mismatched types
249 --> $DIR/numeric-cast-binop.rs:64:17
251 LL | x_u64 > x_usize;
252 | ----- ^^^^^^^ expected `u64`, found `usize`
254 | expected because this is `u64`
256 help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
258 LL | x_u64 > x_usize.try_into().unwrap();
259 | ++++++++++++++++++++
261 error[E0308]: mismatched types
262 --> $DIR/numeric-cast-binop.rs:67:18
265 | ------ ^^^^ expected `u128`, found `u8`
267 | expected because this is `u128`
269 help: you can convert a `u8` to a `u128`
271 LL | x_u128 > x_u8.into();
274 error[E0308]: mismatched types
275 --> $DIR/numeric-cast-binop.rs:69:18
278 | ------ ^^^^^ expected `u128`, found `u16`
280 | expected because this is `u128`
282 help: you can convert a `u16` to a `u128`
284 LL | x_u128 > x_u16.into();
287 error[E0308]: mismatched types
288 --> $DIR/numeric-cast-binop.rs:71:18
291 | ------ ^^^^^ expected `u128`, found `u32`
293 | expected because this is `u128`
295 help: you can convert a `u32` to a `u128`
297 LL | x_u128 > x_u32.into();
300 error[E0308]: mismatched types
301 --> $DIR/numeric-cast-binop.rs:73:18
304 | ------ ^^^^^ expected `u128`, found `u64`
306 | expected because this is `u128`
308 help: you can convert a `u64` to a `u128`
310 LL | x_u128 > x_u64.into();
313 error[E0308]: mismatched types
314 --> $DIR/numeric-cast-binop.rs:75:18
316 LL | x_u128 > x_usize;
317 | ------ ^^^^^^^ expected `u128`, found `usize`
319 | expected because this is `u128`
321 help: you can convert a `usize` to a `u128` and panic if the converted value doesn't fit
323 LL | x_u128 > x_usize.try_into().unwrap();
324 | ++++++++++++++++++++
326 error[E0308]: mismatched types
327 --> $DIR/numeric-cast-binop.rs:78:19
330 | ------- ^^^^ expected `usize`, found `u8`
332 | expected because this is `usize`
334 help: you can convert a `u8` to a `usize`
336 LL | x_usize > x_u8.into();
339 error[E0308]: mismatched types
340 --> $DIR/numeric-cast-binop.rs:80:19
342 LL | x_usize > x_u16;
343 | ------- ^^^^^ expected `usize`, found `u16`
345 | expected because this is `usize`
347 help: you can convert a `u16` to a `usize`
349 LL | x_usize > x_u16.into();
352 error[E0308]: mismatched types
353 --> $DIR/numeric-cast-binop.rs:82:19
355 LL | x_usize > x_u32;
356 | ------- ^^^^^ expected `usize`, found `u32`
358 | expected because this is `usize`
360 help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
362 LL | x_usize > x_u32.try_into().unwrap();
363 | ++++++++++++++++++++
365 error[E0308]: mismatched types
366 --> $DIR/numeric-cast-binop.rs:84:19
368 LL | x_usize > x_u64;
369 | ------- ^^^^^ expected `usize`, found `u64`
371 | expected because this is `usize`
373 help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
375 LL | x_usize > x_u64.try_into().unwrap();
376 | ++++++++++++++++++++
378 error[E0308]: mismatched types
379 --> $DIR/numeric-cast-binop.rs:86:19
381 LL | x_usize > x_u128;
382 | ------- ^^^^^^ expected `usize`, found `u128`
384 | expected because this is `usize`
386 help: you can convert a `u128` to a `usize` and panic if the converted value doesn't fit
388 LL | x_usize > x_u128.try_into().unwrap();
389 | ++++++++++++++++++++
391 error[E0308]: mismatched types
392 --> $DIR/numeric-cast-binop.rs:92:16
395 | ---- ^^^^^ expected `i8`, found `i16`
397 | expected because this is `i8`
399 help: you can convert `x_i8` from `i8` to `i16`, matching the type of `x_i16`
401 LL | i16::from(x_i8) > x_i16;
404 error[E0308]: mismatched types
405 --> $DIR/numeric-cast-binop.rs:94:16
408 | ---- ^^^^^ expected `i8`, found `i32`
410 | expected because this is `i8`
412 help: you can convert `x_i8` from `i8` to `i32`, matching the type of `x_i32`
414 LL | i32::from(x_i8) > x_i32;
417 error[E0308]: mismatched types
418 --> $DIR/numeric-cast-binop.rs:96:16
421 | ---- ^^^^^ expected `i8`, found `i64`
423 | expected because this is `i8`
425 help: you can convert `x_i8` from `i8` to `i64`, matching the type of `x_i64`
427 LL | i64::from(x_i8) > x_i64;
430 error[E0308]: mismatched types
431 --> $DIR/numeric-cast-binop.rs:98:16
434 | ---- ^^^^^^ expected `i8`, found `i128`
436 | expected because this is `i8`
438 help: you can convert `x_i8` from `i8` to `i128`, matching the type of `x_i128`
440 LL | i128::from(x_i8) > x_i128;
443 error[E0308]: mismatched types
444 --> $DIR/numeric-cast-binop.rs:100:16
447 | ---- ^^^^^^^ expected `i8`, found `isize`
449 | expected because this is `i8`
451 help: you can convert `x_i8` from `i8` to `isize`, matching the type of `x_isize`
453 LL | isize::from(x_i8) > x_isize;
456 error[E0308]: mismatched types
457 --> $DIR/numeric-cast-binop.rs:103:17
460 | ----- ^^^^ expected `i16`, found `i8`
462 | expected because this is `i16`
464 help: you can convert an `i8` to an `i16`
466 LL | x_i16 > x_i8.into();
469 error[E0308]: mismatched types
470 --> $DIR/numeric-cast-binop.rs:105:17
473 | ----- ^^^^^ expected `i16`, found `i32`
475 | expected because this is `i16`
477 help: you can convert `x_i16` from `i16` to `i32`, matching the type of `x_i32`
479 LL | i32::from(x_i16) > x_i32;
482 error[E0308]: mismatched types
483 --> $DIR/numeric-cast-binop.rs:107:17
486 | ----- ^^^^^ expected `i16`, found `i64`
488 | expected because this is `i16`
490 help: you can convert `x_i16` from `i16` to `i64`, matching the type of `x_i64`
492 LL | i64::from(x_i16) > x_i64;
495 error[E0308]: mismatched types
496 --> $DIR/numeric-cast-binop.rs:109:17
499 | ----- ^^^^^^ expected `i16`, found `i128`
501 | expected because this is `i16`
503 help: you can convert `x_i16` from `i16` to `i128`, matching the type of `x_i128`
505 LL | i128::from(x_i16) > x_i128;
508 error[E0308]: mismatched types
509 --> $DIR/numeric-cast-binop.rs:111:17
511 LL | x_i16 > x_isize;
512 | ----- ^^^^^^^ expected `i16`, found `isize`
514 | expected because this is `i16`
516 help: you can convert `x_i16` from `i16` to `isize`, matching the type of `x_isize`
518 LL | isize::from(x_i16) > x_isize;
521 error[E0308]: mismatched types
522 --> $DIR/numeric-cast-binop.rs:114:17
525 | ----- ^^^^ expected `i32`, found `i8`
527 | expected because this is `i32`
529 help: you can convert an `i8` to an `i32`
531 LL | x_i32 > x_i8.into();
534 error[E0308]: mismatched types
535 --> $DIR/numeric-cast-binop.rs:116:17
538 | ----- ^^^^^ expected `i32`, found `i16`
540 | expected because this is `i32`
542 help: you can convert an `i16` to an `i32`
544 LL | x_i32 > x_i16.into();
547 error[E0308]: mismatched types
548 --> $DIR/numeric-cast-binop.rs:118:17
551 | ----- ^^^^^ expected `i32`, found `i64`
553 | expected because this is `i32`
555 help: you can convert `x_i32` from `i32` to `i64`, matching the type of `x_i64`
557 LL | i64::from(x_i32) > x_i64;
560 error[E0308]: mismatched types
561 --> $DIR/numeric-cast-binop.rs:120:17
564 | ----- ^^^^^^ expected `i32`, found `i128`
566 | expected because this is `i32`
568 help: you can convert `x_i32` from `i32` to `i128`, matching the type of `x_i128`
570 LL | i128::from(x_i32) > x_i128;
573 error[E0308]: mismatched types
574 --> $DIR/numeric-cast-binop.rs:122:17
576 LL | x_i32 > x_isize;
577 | ----- ^^^^^^^ expected `i32`, found `isize`
579 | expected because this is `i32`
581 help: you can convert an `isize` to an `i32` and panic if the converted value doesn't fit
583 LL | x_i32 > x_isize.try_into().unwrap();
584 | ++++++++++++++++++++
586 error[E0308]: mismatched types
587 --> $DIR/numeric-cast-binop.rs:125:17
590 | ----- ^^^^ expected `i64`, found `i8`
592 | expected because this is `i64`
594 help: you can convert an `i8` to an `i64`
596 LL | x_i64 > x_i8.into();
599 error[E0308]: mismatched types
600 --> $DIR/numeric-cast-binop.rs:127:17
603 | ----- ^^^^^ expected `i64`, found `i16`
605 | expected because this is `i64`
607 help: you can convert an `i16` to an `i64`
609 LL | x_i64 > x_i16.into();
612 error[E0308]: mismatched types
613 --> $DIR/numeric-cast-binop.rs:129:17
616 | ----- ^^^^^ expected `i64`, found `i32`
618 | expected because this is `i64`
620 help: you can convert an `i32` to an `i64`
622 LL | x_i64 > x_i32.into();
625 error[E0308]: mismatched types
626 --> $DIR/numeric-cast-binop.rs:131:17
629 | ----- ^^^^^^ expected `i64`, found `i128`
631 | expected because this is `i64`
633 help: you can convert `x_i64` from `i64` to `i128`, matching the type of `x_i128`
635 LL | i128::from(x_i64) > x_i128;
638 error[E0308]: mismatched types
639 --> $DIR/numeric-cast-binop.rs:133:17
641 LL | x_i64 > x_isize;
642 | ----- ^^^^^^^ expected `i64`, found `isize`
644 | expected because this is `i64`
646 help: you can convert an `isize` to an `i64` and panic if the converted value doesn't fit
648 LL | x_i64 > x_isize.try_into().unwrap();
649 | ++++++++++++++++++++
651 error[E0308]: mismatched types
652 --> $DIR/numeric-cast-binop.rs:136:18
655 | ------ ^^^^ expected `i128`, found `i8`
657 | expected because this is `i128`
659 help: you can convert an `i8` to an `i128`
661 LL | x_i128 > x_i8.into();
664 error[E0308]: mismatched types
665 --> $DIR/numeric-cast-binop.rs:138:18
668 | ------ ^^^^^ expected `i128`, found `i16`
670 | expected because this is `i128`
672 help: you can convert an `i16` to an `i128`
674 LL | x_i128 > x_i16.into();
677 error[E0308]: mismatched types
678 --> $DIR/numeric-cast-binop.rs:140:18
681 | ------ ^^^^^ expected `i128`, found `i32`
683 | expected because this is `i128`
685 help: you can convert an `i32` to an `i128`
687 LL | x_i128 > x_i32.into();
690 error[E0308]: mismatched types
691 --> $DIR/numeric-cast-binop.rs:142:18
694 | ------ ^^^^^ expected `i128`, found `i64`
696 | expected because this is `i128`
698 help: you can convert an `i64` to an `i128`
700 LL | x_i128 > x_i64.into();
703 error[E0308]: mismatched types
704 --> $DIR/numeric-cast-binop.rs:144:18
706 LL | x_i128 > x_isize;
707 | ------ ^^^^^^^ expected `i128`, found `isize`
709 | expected because this is `i128`
711 help: you can convert an `isize` to an `i128` and panic if the converted value doesn't fit
713 LL | x_i128 > x_isize.try_into().unwrap();
714 | ++++++++++++++++++++
716 error[E0308]: mismatched types
717 --> $DIR/numeric-cast-binop.rs:147:19
720 | ------- ^^^^ expected `isize`, found `i8`
722 | expected because this is `isize`
724 help: you can convert an `i8` to an `isize`
726 LL | x_isize > x_i8.into();
729 error[E0308]: mismatched types
730 --> $DIR/numeric-cast-binop.rs:149:19
732 LL | x_isize > x_i16;
733 | ------- ^^^^^ expected `isize`, found `i16`
735 | expected because this is `isize`
737 help: you can convert an `i16` to an `isize`
739 LL | x_isize > x_i16.into();
742 error[E0308]: mismatched types
743 --> $DIR/numeric-cast-binop.rs:151:19
745 LL | x_isize > x_i32;
746 | ------- ^^^^^ expected `isize`, found `i32`
748 | expected because this is `isize`
750 help: you can convert an `i32` to an `isize` and panic if the converted value doesn't fit
752 LL | x_isize > x_i32.try_into().unwrap();
753 | ++++++++++++++++++++
755 error[E0308]: mismatched types
756 --> $DIR/numeric-cast-binop.rs:153:19
758 LL | x_isize > x_i64;
759 | ------- ^^^^^ expected `isize`, found `i64`
761 | expected because this is `isize`
763 help: you can convert an `i64` to an `isize` and panic if the converted value doesn't fit
765 LL | x_isize > x_i64.try_into().unwrap();
766 | ++++++++++++++++++++
768 error[E0308]: mismatched types
769 --> $DIR/numeric-cast-binop.rs:155:19
771 LL | x_isize > x_i128;
772 | ------- ^^^^^^ expected `isize`, found `i128`
774 | expected because this is `isize`
776 help: you can convert an `i128` to an `isize` and panic if the converted value doesn't fit
778 LL | x_isize > x_i128.try_into().unwrap();
779 | ++++++++++++++++++++
781 error[E0308]: mismatched types
782 --> $DIR/numeric-cast-binop.rs:161:16
785 | ---- ^^^^ expected `u8`, found `i8`
787 | expected because this is `u8`
789 help: you can convert an `i8` to a `u8` and panic if the converted value doesn't fit
791 LL | x_u8 > x_i8.try_into().unwrap();
792 | ++++++++++++++++++++
794 error[E0308]: mismatched types
795 --> $DIR/numeric-cast-binop.rs:163:16
798 | ---- ^^^^^ expected `u8`, found `i16`
800 | expected because this is `u8`
802 help: you can convert `x_u8` from `u8` to `i16`, matching the type of `x_i16`
804 LL | i16::from(x_u8) > x_i16;
807 error[E0308]: mismatched types
808 --> $DIR/numeric-cast-binop.rs:165:16
811 | ---- ^^^^^ expected `u8`, found `i32`
813 | expected because this is `u8`
815 help: you can convert `x_u8` from `u8` to `i32`, matching the type of `x_i32`
817 LL | i32::from(x_u8) > x_i32;
820 error[E0308]: mismatched types
821 --> $DIR/numeric-cast-binop.rs:167:16
824 | ---- ^^^^^ expected `u8`, found `i64`
826 | expected because this is `u8`
828 help: you can convert `x_u8` from `u8` to `i64`, matching the type of `x_i64`
830 LL | i64::from(x_u8) > x_i64;
833 error[E0308]: mismatched types
834 --> $DIR/numeric-cast-binop.rs:169:16
837 | ---- ^^^^^^ expected `u8`, found `i128`
839 | expected because this is `u8`
841 help: you can convert `x_u8` from `u8` to `i128`, matching the type of `x_i128`
843 LL | i128::from(x_u8) > x_i128;
846 error[E0308]: mismatched types
847 --> $DIR/numeric-cast-binop.rs:171:16
850 | ---- ^^^^^^^ expected `u8`, found `isize`
852 | expected because this is `u8`
854 help: you can convert `x_u8` from `u8` to `isize`, matching the type of `x_isize`
856 LL | isize::from(x_u8) > x_isize;
859 error[E0308]: mismatched types
860 --> $DIR/numeric-cast-binop.rs:174:17
863 | ----- ^^^^ expected `u16`, found `i8`
865 | expected because this is `u16`
867 help: you can convert an `i8` to a `u16` and panic if the converted value doesn't fit
869 LL | x_u16 > x_i8.try_into().unwrap();
870 | ++++++++++++++++++++
872 error[E0308]: mismatched types
873 --> $DIR/numeric-cast-binop.rs:176:17
876 | ----- ^^^^^ expected `u16`, found `i16`
878 | expected because this is `u16`
880 help: you can convert an `i16` to a `u16` and panic if the converted value doesn't fit
882 LL | x_u16 > x_i16.try_into().unwrap();
883 | ++++++++++++++++++++
885 error[E0308]: mismatched types
886 --> $DIR/numeric-cast-binop.rs:178:17
889 | ----- ^^^^^ expected `u16`, found `i32`
891 | expected because this is `u16`
893 help: you can convert `x_u16` from `u16` to `i32`, matching the type of `x_i32`
895 LL | i32::from(x_u16) > x_i32;
898 error[E0308]: mismatched types
899 --> $DIR/numeric-cast-binop.rs:180:17
902 | ----- ^^^^^ expected `u16`, found `i64`
904 | expected because this is `u16`
906 help: you can convert `x_u16` from `u16` to `i64`, matching the type of `x_i64`
908 LL | i64::from(x_u16) > x_i64;
911 error[E0308]: mismatched types
912 --> $DIR/numeric-cast-binop.rs:182:17
915 | ----- ^^^^^^ expected `u16`, found `i128`
917 | expected because this is `u16`
919 help: you can convert `x_u16` from `u16` to `i128`, matching the type of `x_i128`
921 LL | i128::from(x_u16) > x_i128;
924 error[E0308]: mismatched types
925 --> $DIR/numeric-cast-binop.rs:184:17
927 LL | x_u16 > x_isize;
928 | ----- ^^^^^^^ expected `u16`, found `isize`
930 | expected because this is `u16`
932 help: you can convert an `isize` to a `u16` and panic if the converted value doesn't fit
934 LL | x_u16 > x_isize.try_into().unwrap();
935 | ++++++++++++++++++++
937 error[E0308]: mismatched types
938 --> $DIR/numeric-cast-binop.rs:187:17
941 | ----- ^^^^ expected `u32`, found `i8`
943 | expected because this is `u32`
945 help: you can convert an `i8` to a `u32` and panic if the converted value doesn't fit
947 LL | x_u32 > x_i8.try_into().unwrap();
948 | ++++++++++++++++++++
950 error[E0308]: mismatched types
951 --> $DIR/numeric-cast-binop.rs:189:17
954 | ----- ^^^^^ expected `u32`, found `i16`
956 | expected because this is `u32`
958 help: you can convert an `i16` to a `u32` and panic if the converted value doesn't fit
960 LL | x_u32 > x_i16.try_into().unwrap();
961 | ++++++++++++++++++++
963 error[E0308]: mismatched types
964 --> $DIR/numeric-cast-binop.rs:191:17
967 | ----- ^^^^^ expected `u32`, found `i32`
969 | expected because this is `u32`
971 help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit
973 LL | x_u32 > x_i32.try_into().unwrap();
974 | ++++++++++++++++++++
976 error[E0308]: mismatched types
977 --> $DIR/numeric-cast-binop.rs:193:17
980 | ----- ^^^^^ expected `u32`, found `i64`
982 | expected because this is `u32`
984 help: you can convert `x_u32` from `u32` to `i64`, matching the type of `x_i64`
986 LL | i64::from(x_u32) > x_i64;
989 error[E0308]: mismatched types
990 --> $DIR/numeric-cast-binop.rs:195:17
993 | ----- ^^^^^^ expected `u32`, found `i128`
995 | expected because this is `u32`
997 help: you can convert `x_u32` from `u32` to `i128`, matching the type of `x_i128`
999 LL | i128::from(x_u32) > x_i128;
1002 error[E0308]: mismatched types
1003 --> $DIR/numeric-cast-binop.rs:197:17
1005 LL | x_u32 > x_isize;
1006 | ----- ^^^^^^^ expected `u32`, found `isize`
1008 | expected because this is `u32`
1010 help: you can convert an `isize` to a `u32` and panic if the converted value doesn't fit
1012 LL | x_u32 > x_isize.try_into().unwrap();
1013 | ++++++++++++++++++++
1015 error[E0308]: mismatched types
1016 --> $DIR/numeric-cast-binop.rs:200:17
1019 | ----- ^^^^ expected `u64`, found `i8`
1021 | expected because this is `u64`
1023 help: you can convert an `i8` to a `u64` and panic if the converted value doesn't fit
1025 LL | x_u64 > x_i8.try_into().unwrap();
1026 | ++++++++++++++++++++
1028 error[E0308]: mismatched types
1029 --> $DIR/numeric-cast-binop.rs:202:17
1032 | ----- ^^^^^ expected `u64`, found `i16`
1034 | expected because this is `u64`
1036 help: you can convert an `i16` to a `u64` and panic if the converted value doesn't fit
1038 LL | x_u64 > x_i16.try_into().unwrap();
1039 | ++++++++++++++++++++
1041 error[E0308]: mismatched types
1042 --> $DIR/numeric-cast-binop.rs:204:17
1045 | ----- ^^^^^ expected `u64`, found `i32`
1047 | expected because this is `u64`
1049 help: you can convert an `i32` to a `u64` and panic if the converted value doesn't fit
1051 LL | x_u64 > x_i32.try_into().unwrap();
1052 | ++++++++++++++++++++
1054 error[E0308]: mismatched types
1055 --> $DIR/numeric-cast-binop.rs:206:17
1058 | ----- ^^^^^ expected `u64`, found `i64`
1060 | expected because this is `u64`
1062 help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit
1064 LL | x_u64 > x_i64.try_into().unwrap();
1065 | ++++++++++++++++++++
1067 error[E0308]: mismatched types
1068 --> $DIR/numeric-cast-binop.rs:208:17
1070 LL | x_u64 > x_i128;
1071 | ----- ^^^^^^ expected `u64`, found `i128`
1073 | expected because this is `u64`
1075 help: you can convert `x_u64` from `u64` to `i128`, matching the type of `x_i128`
1077 LL | i128::from(x_u64) > x_i128;
1080 error[E0308]: mismatched types
1081 --> $DIR/numeric-cast-binop.rs:210:17
1083 LL | x_u64 > x_isize;
1084 | ----- ^^^^^^^ expected `u64`, found `isize`
1086 | expected because this is `u64`
1088 help: you can convert an `isize` to a `u64` and panic if the converted value doesn't fit
1090 LL | x_u64 > x_isize.try_into().unwrap();
1091 | ++++++++++++++++++++
1093 error[E0308]: mismatched types
1094 --> $DIR/numeric-cast-binop.rs:213:18
1097 | ------ ^^^^ expected `u128`, found `i8`
1099 | expected because this is `u128`
1101 help: you can convert an `i8` to a `u128` and panic if the converted value doesn't fit
1103 LL | x_u128 > x_i8.try_into().unwrap();
1104 | ++++++++++++++++++++
1106 error[E0308]: mismatched types
1107 --> $DIR/numeric-cast-binop.rs:215:18
1109 LL | x_u128 > x_i16;
1110 | ------ ^^^^^ expected `u128`, found `i16`
1112 | expected because this is `u128`
1114 help: you can convert an `i16` to a `u128` and panic if the converted value doesn't fit
1116 LL | x_u128 > x_i16.try_into().unwrap();
1117 | ++++++++++++++++++++
1119 error[E0308]: mismatched types
1120 --> $DIR/numeric-cast-binop.rs:217:18
1122 LL | x_u128 > x_i32;
1123 | ------ ^^^^^ expected `u128`, found `i32`
1125 | expected because this is `u128`
1127 help: you can convert an `i32` to a `u128` and panic if the converted value doesn't fit
1129 LL | x_u128 > x_i32.try_into().unwrap();
1130 | ++++++++++++++++++++
1132 error[E0308]: mismatched types
1133 --> $DIR/numeric-cast-binop.rs:219:18
1135 LL | x_u128 > x_i64;
1136 | ------ ^^^^^ expected `u128`, found `i64`
1138 | expected because this is `u128`
1140 help: you can convert an `i64` to a `u128` and panic if the converted value doesn't fit
1142 LL | x_u128 > x_i64.try_into().unwrap();
1143 | ++++++++++++++++++++
1145 error[E0308]: mismatched types
1146 --> $DIR/numeric-cast-binop.rs:221:18
1148 LL | x_u128 > x_i128;
1149 | ------ ^^^^^^ expected `u128`, found `i128`
1151 | expected because this is `u128`
1153 help: you can convert an `i128` to a `u128` and panic if the converted value doesn't fit
1155 LL | x_u128 > x_i128.try_into().unwrap();
1156 | ++++++++++++++++++++
1158 error[E0308]: mismatched types
1159 --> $DIR/numeric-cast-binop.rs:223:18
1161 LL | x_u128 > x_isize;
1162 | ------ ^^^^^^^ expected `u128`, found `isize`
1164 | expected because this is `u128`
1166 help: you can convert an `isize` to a `u128` and panic if the converted value doesn't fit
1168 LL | x_u128 > x_isize.try_into().unwrap();
1169 | ++++++++++++++++++++
1171 error[E0308]: mismatched types
1172 --> $DIR/numeric-cast-binop.rs:226:19
1174 LL | x_usize > x_i8;
1175 | ------- ^^^^ expected `usize`, found `i8`
1177 | expected because this is `usize`
1179 help: you can convert an `i8` to a `usize` and panic if the converted value doesn't fit
1181 LL | x_usize > x_i8.try_into().unwrap();
1182 | ++++++++++++++++++++
1184 error[E0308]: mismatched types
1185 --> $DIR/numeric-cast-binop.rs:228:19
1187 LL | x_usize > x_i16;
1188 | ------- ^^^^^ expected `usize`, found `i16`
1190 | expected because this is `usize`
1192 help: you can convert an `i16` to a `usize` and panic if the converted value doesn't fit
1194 LL | x_usize > x_i16.try_into().unwrap();
1195 | ++++++++++++++++++++
1197 error[E0308]: mismatched types
1198 --> $DIR/numeric-cast-binop.rs:230:19
1200 LL | x_usize > x_i32;
1201 | ------- ^^^^^ expected `usize`, found `i32`
1203 | expected because this is `usize`
1205 help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
1207 LL | x_usize > x_i32.try_into().unwrap();
1208 | ++++++++++++++++++++
1210 error[E0308]: mismatched types
1211 --> $DIR/numeric-cast-binop.rs:232:19
1213 LL | x_usize > x_i64;
1214 | ------- ^^^^^ expected `usize`, found `i64`
1216 | expected because this is `usize`
1218 help: you can convert an `i64` to a `usize` and panic if the converted value doesn't fit
1220 LL | x_usize > x_i64.try_into().unwrap();
1221 | ++++++++++++++++++++
1223 error[E0308]: mismatched types
1224 --> $DIR/numeric-cast-binop.rs:234:19
1226 LL | x_usize > x_i128;
1227 | ------- ^^^^^^ expected `usize`, found `i128`
1229 | expected because this is `usize`
1231 help: you can convert an `i128` to a `usize` and panic if the converted value doesn't fit
1233 LL | x_usize > x_i128.try_into().unwrap();
1234 | ++++++++++++++++++++
1236 error[E0308]: mismatched types
1237 --> $DIR/numeric-cast-binop.rs:236:19
1239 LL | x_usize > x_isize;
1240 | ------- ^^^^^^^ expected `usize`, found `isize`
1242 | expected because this is `usize`
1244 help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit
1246 LL | x_usize > x_isize.try_into().unwrap();
1247 | ++++++++++++++++++++
1249 error[E0308]: mismatched types
1250 --> $DIR/numeric-cast-binop.rs:242:16
1253 | ---- ^^^^ expected `i8`, found `u8`
1255 | expected because this is `i8`
1257 help: you can convert a `u8` to an `i8` and panic if the converted value doesn't fit
1259 LL | x_i8 > x_u8.try_into().unwrap();
1260 | ++++++++++++++++++++
1262 error[E0308]: mismatched types
1263 --> $DIR/numeric-cast-binop.rs:244:16
1266 | ---- ^^^^^ expected `i8`, found `u16`
1268 | expected because this is `i8`
1270 help: you can convert a `u16` to an `i8` and panic if the converted value doesn't fit
1272 LL | x_i8 > x_u16.try_into().unwrap();
1273 | ++++++++++++++++++++
1275 error[E0308]: mismatched types
1276 --> $DIR/numeric-cast-binop.rs:246:16
1279 | ---- ^^^^^ expected `i8`, found `u32`
1281 | expected because this is `i8`
1283 help: you can convert a `u32` to an `i8` and panic if the converted value doesn't fit
1285 LL | x_i8 > x_u32.try_into().unwrap();
1286 | ++++++++++++++++++++
1288 error[E0308]: mismatched types
1289 --> $DIR/numeric-cast-binop.rs:248:16
1292 | ---- ^^^^^ expected `i8`, found `u64`
1294 | expected because this is `i8`
1296 help: you can convert a `u64` to an `i8` and panic if the converted value doesn't fit
1298 LL | x_i8 > x_u64.try_into().unwrap();
1299 | ++++++++++++++++++++
1301 error[E0308]: mismatched types
1302 --> $DIR/numeric-cast-binop.rs:250:16
1305 | ---- ^^^^^^ expected `i8`, found `u128`
1307 | expected because this is `i8`
1309 help: you can convert a `u128` to an `i8` and panic if the converted value doesn't fit
1311 LL | x_i8 > x_u128.try_into().unwrap();
1312 | ++++++++++++++++++++
1314 error[E0308]: mismatched types
1315 --> $DIR/numeric-cast-binop.rs:252:16
1317 LL | x_i8 > x_usize;
1318 | ---- ^^^^^^^ expected `i8`, found `usize`
1320 | expected because this is `i8`
1322 help: you can convert a `usize` to an `i8` and panic if the converted value doesn't fit
1324 LL | x_i8 > x_usize.try_into().unwrap();
1325 | ++++++++++++++++++++
1327 error[E0308]: mismatched types
1328 --> $DIR/numeric-cast-binop.rs:255:17
1331 | ----- ^^^^ expected `i16`, found `u8`
1333 | expected because this is `i16`
1335 help: you can convert a `u8` to an `i16`
1337 LL | x_i16 > x_u8.into();
1340 error[E0308]: mismatched types
1341 --> $DIR/numeric-cast-binop.rs:257:17
1344 | ----- ^^^^^ expected `i16`, found `u16`
1346 | expected because this is `i16`
1348 help: you can convert a `u16` to an `i16` and panic if the converted value doesn't fit
1350 LL | x_i16 > x_u16.try_into().unwrap();
1351 | ++++++++++++++++++++
1353 error[E0308]: mismatched types
1354 --> $DIR/numeric-cast-binop.rs:259:17
1357 | ----- ^^^^^ expected `i16`, found `u32`
1359 | expected because this is `i16`
1361 help: you can convert a `u32` to an `i16` and panic if the converted value doesn't fit
1363 LL | x_i16 > x_u32.try_into().unwrap();
1364 | ++++++++++++++++++++
1366 error[E0308]: mismatched types
1367 --> $DIR/numeric-cast-binop.rs:261:17
1370 | ----- ^^^^^ expected `i16`, found `u64`
1372 | expected because this is `i16`
1374 help: you can convert a `u64` to an `i16` and panic if the converted value doesn't fit
1376 LL | x_i16 > x_u64.try_into().unwrap();
1377 | ++++++++++++++++++++
1379 error[E0308]: mismatched types
1380 --> $DIR/numeric-cast-binop.rs:263:17
1382 LL | x_i16 > x_u128;
1383 | ----- ^^^^^^ expected `i16`, found `u128`
1385 | expected because this is `i16`
1387 help: you can convert a `u128` to an `i16` and panic if the converted value doesn't fit
1389 LL | x_i16 > x_u128.try_into().unwrap();
1390 | ++++++++++++++++++++
1392 error[E0308]: mismatched types
1393 --> $DIR/numeric-cast-binop.rs:265:17
1395 LL | x_i16 > x_usize;
1396 | ----- ^^^^^^^ expected `i16`, found `usize`
1398 | expected because this is `i16`
1400 help: you can convert a `usize` to an `i16` and panic if the converted value doesn't fit
1402 LL | x_i16 > x_usize.try_into().unwrap();
1403 | ++++++++++++++++++++
1405 error[E0308]: mismatched types
1406 --> $DIR/numeric-cast-binop.rs:268:17
1409 | ----- ^^^^ expected `i32`, found `u8`
1411 | expected because this is `i32`
1413 help: you can convert a `u8` to an `i32`
1415 LL | x_i32 > x_u8.into();
1418 error[E0308]: mismatched types
1419 --> $DIR/numeric-cast-binop.rs:270:17
1422 | ----- ^^^^^ expected `i32`, found `u16`
1424 | expected because this is `i32`
1426 help: you can convert a `u16` to an `i32`
1428 LL | x_i32 > x_u16.into();
1431 error[E0308]: mismatched types
1432 --> $DIR/numeric-cast-binop.rs:272:17
1435 | ----- ^^^^^ expected `i32`, found `u32`
1437 | expected because this is `i32`
1439 help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
1441 LL | x_i32 > x_u32.try_into().unwrap();
1442 | ++++++++++++++++++++
1444 error[E0308]: mismatched types
1445 --> $DIR/numeric-cast-binop.rs:274:17
1448 | ----- ^^^^^ expected `i32`, found `u64`
1450 | expected because this is `i32`
1452 help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit
1454 LL | x_i32 > x_u64.try_into().unwrap();
1455 | ++++++++++++++++++++
1457 error[E0308]: mismatched types
1458 --> $DIR/numeric-cast-binop.rs:276:17
1460 LL | x_i32 > x_u128;
1461 | ----- ^^^^^^ expected `i32`, found `u128`
1463 | expected because this is `i32`
1465 help: you can convert a `u128` to an `i32` and panic if the converted value doesn't fit
1467 LL | x_i32 > x_u128.try_into().unwrap();
1468 | ++++++++++++++++++++
1470 error[E0308]: mismatched types
1471 --> $DIR/numeric-cast-binop.rs:278:17
1473 LL | x_i32 > x_usize;
1474 | ----- ^^^^^^^ expected `i32`, found `usize`
1476 | expected because this is `i32`
1478 help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit
1480 LL | x_i32 > x_usize.try_into().unwrap();
1481 | ++++++++++++++++++++
1483 error[E0308]: mismatched types
1484 --> $DIR/numeric-cast-binop.rs:281:17
1487 | ----- ^^^^ expected `i64`, found `u8`
1489 | expected because this is `i64`
1491 help: you can convert a `u8` to an `i64`
1493 LL | x_i64 > x_u8.into();
1496 error[E0308]: mismatched types
1497 --> $DIR/numeric-cast-binop.rs:283:17
1500 | ----- ^^^^^ expected `i64`, found `u16`
1502 | expected because this is `i64`
1504 help: you can convert a `u16` to an `i64`
1506 LL | x_i64 > x_u16.into();
1509 error[E0308]: mismatched types
1510 --> $DIR/numeric-cast-binop.rs:285:17
1513 | ----- ^^^^^ expected `i64`, found `u32`
1515 | expected because this is `i64`
1517 help: you can convert a `u32` to an `i64`
1519 LL | x_i64 > x_u32.into();
1522 error[E0308]: mismatched types
1523 --> $DIR/numeric-cast-binop.rs:287:17
1526 | ----- ^^^^^ expected `i64`, found `u64`
1528 | expected because this is `i64`
1530 help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit
1532 LL | x_i64 > x_u64.try_into().unwrap();
1533 | ++++++++++++++++++++
1535 error[E0308]: mismatched types
1536 --> $DIR/numeric-cast-binop.rs:289:17
1538 LL | x_i64 > x_u128;
1539 | ----- ^^^^^^ expected `i64`, found `u128`
1541 | expected because this is `i64`
1543 help: you can convert a `u128` to an `i64` and panic if the converted value doesn't fit
1545 LL | x_i64 > x_u128.try_into().unwrap();
1546 | ++++++++++++++++++++
1548 error[E0308]: mismatched types
1549 --> $DIR/numeric-cast-binop.rs:291:17
1551 LL | x_i64 > x_usize;
1552 | ----- ^^^^^^^ expected `i64`, found `usize`
1554 | expected because this is `i64`
1556 help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit
1558 LL | x_i64 > x_usize.try_into().unwrap();
1559 | ++++++++++++++++++++
1561 error[E0308]: mismatched types
1562 --> $DIR/numeric-cast-binop.rs:294:18
1565 | ------ ^^^^ expected `i128`, found `u8`
1567 | expected because this is `i128`
1569 help: you can convert a `u8` to an `i128`
1571 LL | x_i128 > x_u8.into();
1574 error[E0308]: mismatched types
1575 --> $DIR/numeric-cast-binop.rs:296:18
1577 LL | x_i128 > x_u16;
1578 | ------ ^^^^^ expected `i128`, found `u16`
1580 | expected because this is `i128`
1582 help: you can convert a `u16` to an `i128`
1584 LL | x_i128 > x_u16.into();
1587 error[E0308]: mismatched types
1588 --> $DIR/numeric-cast-binop.rs:298:18
1590 LL | x_i128 > x_u32;
1591 | ------ ^^^^^ expected `i128`, found `u32`
1593 | expected because this is `i128`
1595 help: you can convert a `u32` to an `i128`
1597 LL | x_i128 > x_u32.into();
1600 error[E0308]: mismatched types
1601 --> $DIR/numeric-cast-binop.rs:300:18
1603 LL | x_i128 > x_u64;
1604 | ------ ^^^^^ expected `i128`, found `u64`
1606 | expected because this is `i128`
1608 help: you can convert a `u64` to an `i128`
1610 LL | x_i128 > x_u64.into();
1613 error[E0308]: mismatched types
1614 --> $DIR/numeric-cast-binop.rs:302:18
1616 LL | x_i128 > x_u128;
1617 | ------ ^^^^^^ expected `i128`, found `u128`
1619 | expected because this is `i128`
1621 help: you can convert a `u128` to an `i128` and panic if the converted value doesn't fit
1623 LL | x_i128 > x_u128.try_into().unwrap();
1624 | ++++++++++++++++++++
1626 error[E0308]: mismatched types
1627 --> $DIR/numeric-cast-binop.rs:304:18
1629 LL | x_i128 > x_usize;
1630 | ------ ^^^^^^^ expected `i128`, found `usize`
1632 | expected because this is `i128`
1634 help: you can convert a `usize` to an `i128` and panic if the converted value doesn't fit
1636 LL | x_i128 > x_usize.try_into().unwrap();
1637 | ++++++++++++++++++++
1639 error[E0308]: mismatched types
1640 --> $DIR/numeric-cast-binop.rs:307:19
1642 LL | x_isize > x_u8;
1643 | ------- ^^^^ expected `isize`, found `u8`
1645 | expected because this is `isize`
1647 help: you can convert a `u8` to an `isize`
1649 LL | x_isize > x_u8.into();
1652 error[E0308]: mismatched types
1653 --> $DIR/numeric-cast-binop.rs:309:19
1655 LL | x_isize > x_u16;
1656 | ------- ^^^^^ expected `isize`, found `u16`
1658 | expected because this is `isize`
1660 help: you can convert a `u16` to an `isize` and panic if the converted value doesn't fit
1662 LL | x_isize > x_u16.try_into().unwrap();
1663 | ++++++++++++++++++++
1665 error[E0308]: mismatched types
1666 --> $DIR/numeric-cast-binop.rs:311:19
1668 LL | x_isize > x_u32;
1669 | ------- ^^^^^ expected `isize`, found `u32`
1671 | expected because this is `isize`
1673 help: you can convert a `u32` to an `isize` and panic if the converted value doesn't fit
1675 LL | x_isize > x_u32.try_into().unwrap();
1676 | ++++++++++++++++++++
1678 error[E0308]: mismatched types
1679 --> $DIR/numeric-cast-binop.rs:313:19
1681 LL | x_isize > x_u64;
1682 | ------- ^^^^^ expected `isize`, found `u64`
1684 | expected because this is `isize`
1686 help: you can convert a `u64` to an `isize` and panic if the converted value doesn't fit
1688 LL | x_isize > x_u64.try_into().unwrap();
1689 | ++++++++++++++++++++
1691 error[E0308]: mismatched types
1692 --> $DIR/numeric-cast-binop.rs:315:19
1694 LL | x_isize > x_u128;
1695 | ------- ^^^^^^ expected `isize`, found `u128`
1697 | expected because this is `isize`
1699 help: you can convert a `u128` to an `isize` and panic if the converted value doesn't fit
1701 LL | x_isize > x_u128.try_into().unwrap();
1702 | ++++++++++++++++++++
1704 error[E0308]: mismatched types
1705 --> $DIR/numeric-cast-binop.rs:317:19
1707 LL | x_isize > x_usize;
1708 | ------- ^^^^^^^ expected `isize`, found `usize`
1710 | expected because this is `isize`
1712 help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
1714 LL | x_isize > x_usize.try_into().unwrap();
1715 | ++++++++++++++++++++
1717 error: aborting due to 132 previous errors
1719 For more information about this error, try `rustc --explain E0308`.