fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0308]: mismatched types 2 --> $DIR/numeric-suffix.rs:7:18 3 | 4LL | foo::<usize>(42_u64); 5 | ^^^^^^ expected `usize`, found `u64` 6 | 7help: change the type of the numeric literal from `u64` to `usize` 8 | 9LL | foo::<usize>(42_usize); 10 | ^^^^^^^^ 11 12error[E0308]: mismatched types 13 --> $DIR/numeric-suffix.rs:9:18 14 | 15LL | foo::<usize>(42_u32); 16 | ^^^^^^ expected `usize`, found `u32` 17 | 18help: change the type of the numeric literal from `u32` to `usize` 19 | 20LL | foo::<usize>(42_usize); 21 | ^^^^^^^^ 22 23error[E0308]: mismatched types 24 --> $DIR/numeric-suffix.rs:11:18 25 | 26LL | foo::<usize>(42_u16); 27 | ^^^^^^ expected `usize`, found `u16` 28 | 29help: change the type of the numeric literal from `u16` to `usize` 30 | 31LL | foo::<usize>(42_usize); 32 | ^^^^^^^^ 33 34error[E0308]: mismatched types 35 --> $DIR/numeric-suffix.rs:13:18 36 | 37LL | foo::<usize>(42_u8); 38 | ^^^^^ expected `usize`, found `u8` 39 | 40help: change the type of the numeric literal from `u8` to `usize` 41 | 42LL | foo::<usize>(42_usize); 43 | ^^^^^^^^ 44 45error[E0308]: mismatched types 46 --> $DIR/numeric-suffix.rs:15:18 47 | 48LL | foo::<usize>(42_isize); 49 | ^^^^^^^^ expected `usize`, found `isize` 50 | 51help: change the type of the numeric literal from `isize` to `usize` 52 | 53LL | foo::<usize>(42_usize); 54 | ^^^^^^^^ 55 56error[E0308]: mismatched types 57 --> $DIR/numeric-suffix.rs:17:18 58 | 59LL | foo::<usize>(42_i64); 60 | ^^^^^^ expected `usize`, found `i64` 61 | 62help: change the type of the numeric literal from `i64` to `usize` 63 | 64LL | foo::<usize>(42_usize); 65 | ^^^^^^^^ 66 67error[E0308]: mismatched types 68 --> $DIR/numeric-suffix.rs:19:18 69 | 70LL | foo::<usize>(42_i32); 71 | ^^^^^^ expected `usize`, found `i32` 72 | 73help: change the type of the numeric literal from `i32` to `usize` 74 | 75LL | foo::<usize>(42_usize); 76 | ^^^^^^^^ 77 78error[E0308]: mismatched types 79 --> $DIR/numeric-suffix.rs:21:18 80 | 81LL | foo::<usize>(42_i16); 82 | ^^^^^^ expected `usize`, found `i16` 83 | 84help: change the type of the numeric literal from `i16` to `usize` 85 | 86LL | foo::<usize>(42_usize); 87 | ^^^^^^^^ 88 89error[E0308]: mismatched types 90 --> $DIR/numeric-suffix.rs:23:18 91 | 92LL | foo::<usize>(42_i8); 93 | ^^^^^ expected `usize`, found `i8` 94 | 95help: change the type of the numeric literal from `i8` to `usize` 96 | 97LL | foo::<usize>(42_usize); 98 | ^^^^^^^^ 99 100error[E0308]: mismatched types 101 --> $DIR/numeric-suffix.rs:25:18 102 | 103LL | foo::<usize>(42.0_f64); 104 | ^^^^^^^^ expected `usize`, found `f64` 105 | 106help: change the type of the numeric literal from `f64` to `usize` 107 | 108LL | foo::<usize>(42usize); 109 | ^^^^^^^ 110 111error[E0308]: mismatched types 112 --> $DIR/numeric-suffix.rs:27:18 113 | 114LL | foo::<usize>(42.0_f32); 115 | ^^^^^^^^ expected `usize`, found `f32` 116 | 117help: change the type of the numeric literal from `f32` to `usize` 118 | 119LL | foo::<usize>(42usize); 120 | ^^^^^^^ 121 122error[E0308]: mismatched types 123 --> $DIR/numeric-suffix.rs:30:18 124 | 125LL | foo::<isize>(42_usize); 126 | ^^^^^^^^ expected `isize`, found `usize` 127 | 128help: change the type of the numeric literal from `usize` to `isize` 129 | 130LL | foo::<isize>(42_isize); 131 | ^^^^^^^^ 132 133error[E0308]: mismatched types 134 --> $DIR/numeric-suffix.rs:32:18 135 | 136LL | foo::<isize>(42_u64); 137 | ^^^^^^ expected `isize`, found `u64` 138 | 139help: change the type of the numeric literal from `u64` to `isize` 140 | 141LL | foo::<isize>(42_isize); 142 | ^^^^^^^^ 143 144error[E0308]: mismatched types 145 --> $DIR/numeric-suffix.rs:34:18 146 | 147LL | foo::<isize>(42_u32); 148 | ^^^^^^ expected `isize`, found `u32` 149 | 150help: change the type of the numeric literal from `u32` to `isize` 151 | 152LL | foo::<isize>(42_isize); 153 | ^^^^^^^^ 154 155error[E0308]: mismatched types 156 --> $DIR/numeric-suffix.rs:36:18 157 | 158LL | foo::<isize>(42_u16); 159 | ^^^^^^ expected `isize`, found `u16` 160 | 161help: change the type of the numeric literal from `u16` to `isize` 162 | 163LL | foo::<isize>(42_isize); 164 | ^^^^^^^^ 165 166error[E0308]: mismatched types 167 --> $DIR/numeric-suffix.rs:38:18 168 | 169LL | foo::<isize>(42_u8); 170 | ^^^^^ expected `isize`, found `u8` 171 | 172help: change the type of the numeric literal from `u8` to `isize` 173 | 174LL | foo::<isize>(42_isize); 175 | ^^^^^^^^ 176 177error[E0308]: mismatched types 178 --> $DIR/numeric-suffix.rs:41:18 179 | 180LL | foo::<isize>(42_i64); 181 | ^^^^^^ expected `isize`, found `i64` 182 | 183help: change the type of the numeric literal from `i64` to `isize` 184 | 185LL | foo::<isize>(42_isize); 186 | ^^^^^^^^ 187 188error[E0308]: mismatched types 189 --> $DIR/numeric-suffix.rs:43:18 190 | 191LL | foo::<isize>(42_i32); 192 | ^^^^^^ expected `isize`, found `i32` 193 | 194help: change the type of the numeric literal from `i32` to `isize` 195 | 196LL | foo::<isize>(42_isize); 197 | ^^^^^^^^ 198 199error[E0308]: mismatched types 200 --> $DIR/numeric-suffix.rs:45:18 201 | 202LL | foo::<isize>(42_i16); 203 | ^^^^^^ expected `isize`, found `i16` 204 | 205help: change the type of the numeric literal from `i16` to `isize` 206 | 207LL | foo::<isize>(42_isize); 208 | ^^^^^^^^ 209 210error[E0308]: mismatched types 211 --> $DIR/numeric-suffix.rs:47:18 212 | 213LL | foo::<isize>(42_i8); 214 | ^^^^^ expected `isize`, found `i8` 215 | 216help: change the type of the numeric literal from `i8` to `isize` 217 | 218LL | foo::<isize>(42_isize); 219 | ^^^^^^^^ 220 221error[E0308]: mismatched types 222 --> $DIR/numeric-suffix.rs:49:18 223 | 224LL | foo::<isize>(42.0_f64); 225 | ^^^^^^^^ expected `isize`, found `f64` 226 | 227help: change the type of the numeric literal from `f64` to `isize` 228 | 229LL | foo::<isize>(42isize); 230 | ^^^^^^^ 231 232error[E0308]: mismatched types 233 --> $DIR/numeric-suffix.rs:51:18 234 | 235LL | foo::<isize>(42.0_f32); 236 | ^^^^^^^^ expected `isize`, found `f32` 237 | 238help: change the type of the numeric literal from `f32` to `isize` 239 | 240LL | foo::<isize>(42isize); 241 | ^^^^^^^ 242 243error[E0308]: mismatched types 244 --> $DIR/numeric-suffix.rs:54:16 245 | 246LL | foo::<u64>(42_usize); 247 | ^^^^^^^^ expected `u64`, found `usize` 248 | 249help: change the type of the numeric literal from `usize` to `u64` 250 | 251LL | foo::<u64>(42_u64); 252 | ^^^^^^ 253 254error[E0308]: mismatched types 255 --> $DIR/numeric-suffix.rs:57:16 256 | 257LL | foo::<u64>(42_u32); 258 | ^^^^^^ expected `u64`, found `u32` 259 | 260help: change the type of the numeric literal from `u32` to `u64` 261 | 262LL | foo::<u64>(42_u64); 263 | ^^^^^^ 264 265error[E0308]: mismatched types 266 --> $DIR/numeric-suffix.rs:59:16 267 | 268LL | foo::<u64>(42_u16); 269 | ^^^^^^ expected `u64`, found `u16` 270 | 271help: change the type of the numeric literal from `u16` to `u64` 272 | 273LL | foo::<u64>(42_u64); 274 | ^^^^^^ 275 276error[E0308]: mismatched types 277 --> $DIR/numeric-suffix.rs:61:16 278 | 279LL | foo::<u64>(42_u8); 280 | ^^^^^ expected `u64`, found `u8` 281 | 282help: change the type of the numeric literal from `u8` to `u64` 283 | 284LL | foo::<u64>(42_u64); 285 | ^^^^^^ 286 287error[E0308]: mismatched types 288 --> $DIR/numeric-suffix.rs:63:16 289 | 290LL | foo::<u64>(42_isize); 291 | ^^^^^^^^ expected `u64`, found `isize` 292 | 293help: change the type of the numeric literal from `isize` to `u64` 294 | 295LL | foo::<u64>(42_u64); 296 | ^^^^^^ 297 298error[E0308]: mismatched types 299 --> $DIR/numeric-suffix.rs:65:16 300 | 301LL | foo::<u64>(42_i64); 302 | ^^^^^^ expected `u64`, found `i64` 303 | 304help: change the type of the numeric literal from `i64` to `u64` 305 | 306LL | foo::<u64>(42_u64); 307 | ^^^^^^ 308 309error[E0308]: mismatched types 310 --> $DIR/numeric-suffix.rs:67:16 311 | 312LL | foo::<u64>(42_i32); 313 | ^^^^^^ expected `u64`, found `i32` 314 | 315help: change the type of the numeric literal from `i32` to `u64` 316 | 317LL | foo::<u64>(42_u64); 318 | ^^^^^^ 319 320error[E0308]: mismatched types 321 --> $DIR/numeric-suffix.rs:69:16 322 | 323LL | foo::<u64>(42_i16); 324 | ^^^^^^ expected `u64`, found `i16` 325 | 326help: change the type of the numeric literal from `i16` to `u64` 327 | 328LL | foo::<u64>(42_u64); 329 | ^^^^^^ 330 331error[E0308]: mismatched types 332 --> $DIR/numeric-suffix.rs:71:16 333 | 334LL | foo::<u64>(42_i8); 335 | ^^^^^ expected `u64`, found `i8` 336 | 337help: change the type of the numeric literal from `i8` to `u64` 338 | 339LL | foo::<u64>(42_u64); 340 | ^^^^^^ 341 342error[E0308]: mismatched types 343 --> $DIR/numeric-suffix.rs:73:16 344 | 345LL | foo::<u64>(42.0_f64); 346 | ^^^^^^^^ expected `u64`, found `f64` 347 | 348help: change the type of the numeric literal from `f64` to `u64` 349 | 350LL | foo::<u64>(42u64); 351 | ^^^^^ 352 353error[E0308]: mismatched types 354 --> $DIR/numeric-suffix.rs:75:16 355 | 356LL | foo::<u64>(42.0_f32); 357 | ^^^^^^^^ expected `u64`, found `f32` 358 | 359help: change the type of the numeric literal from `f32` to `u64` 360 | 361LL | foo::<u64>(42u64); 362 | ^^^^^ 363 364error[E0308]: mismatched types 365 --> $DIR/numeric-suffix.rs:78:16 366 | 367LL | foo::<i64>(42_usize); 368 | ^^^^^^^^ expected `i64`, found `usize` 369 | 370help: change the type of the numeric literal from `usize` to `i64` 371 | 372LL | foo::<i64>(42_i64); 373 | ^^^^^^ 374 375error[E0308]: mismatched types 376 --> $DIR/numeric-suffix.rs:80:16 377 | 378LL | foo::<i64>(42_u64); 379 | ^^^^^^ expected `i64`, found `u64` 380 | 381help: change the type of the numeric literal from `u64` to `i64` 382 | 383LL | foo::<i64>(42_i64); 384 | ^^^^^^ 385 386error[E0308]: mismatched types 387 --> $DIR/numeric-suffix.rs:82:16 388 | 389LL | foo::<i64>(42_u32); 390 | ^^^^^^ expected `i64`, found `u32` 391 | 392help: change the type of the numeric literal from `u32` to `i64` 393 | 394LL | foo::<i64>(42_i64); 395 | ^^^^^^ 396 397error[E0308]: mismatched types 398 --> $DIR/numeric-suffix.rs:84:16 399 | 400LL | foo::<i64>(42_u16); 401 | ^^^^^^ expected `i64`, found `u16` 402 | 403help: change the type of the numeric literal from `u16` to `i64` 404 | 405LL | foo::<i64>(42_i64); 406 | ^^^^^^ 407 408error[E0308]: mismatched types 409 --> $DIR/numeric-suffix.rs:86:16 410 | 411LL | foo::<i64>(42_u8); 412 | ^^^^^ expected `i64`, found `u8` 413 | 414help: change the type of the numeric literal from `u8` to `i64` 415 | 416LL | foo::<i64>(42_i64); 417 | ^^^^^^ 418 419error[E0308]: mismatched types 420 --> $DIR/numeric-suffix.rs:88:16 421 | 422LL | foo::<i64>(42_isize); 423 | ^^^^^^^^ expected `i64`, found `isize` 424 | 425help: change the type of the numeric literal from `isize` to `i64` 426 | 427LL | foo::<i64>(42_i64); 428 | ^^^^^^ 429 430error[E0308]: mismatched types 431 --> $DIR/numeric-suffix.rs:91:16 432 | 433LL | foo::<i64>(42_i32); 434 | ^^^^^^ expected `i64`, found `i32` 435 | 436help: change the type of the numeric literal from `i32` to `i64` 437 | 438LL | foo::<i64>(42_i64); 439 | ^^^^^^ 440 441error[E0308]: mismatched types 442 --> $DIR/numeric-suffix.rs:93:16 443 | 444LL | foo::<i64>(42_i16); 445 | ^^^^^^ expected `i64`, found `i16` 446 | 447help: change the type of the numeric literal from `i16` to `i64` 448 | 449LL | foo::<i64>(42_i64); 450 | ^^^^^^ 451 452error[E0308]: mismatched types 453 --> $DIR/numeric-suffix.rs:95:16 454 | 455LL | foo::<i64>(42_i8); 456 | ^^^^^ expected `i64`, found `i8` 457 | 458help: change the type of the numeric literal from `i8` to `i64` 459 | 460LL | foo::<i64>(42_i64); 461 | ^^^^^^ 462 463error[E0308]: mismatched types 464 --> $DIR/numeric-suffix.rs:97:16 465 | 466LL | foo::<i64>(42.0_f64); 467 | ^^^^^^^^ expected `i64`, found `f64` 468 | 469help: change the type of the numeric literal from `f64` to `i64` 470 | 471LL | foo::<i64>(42i64); 472 | ^^^^^ 473 474error[E0308]: mismatched types 475 --> $DIR/numeric-suffix.rs:99:16 476 | 477LL | foo::<i64>(42.0_f32); 478 | ^^^^^^^^ expected `i64`, found `f32` 479 | 480help: change the type of the numeric literal from `f32` to `i64` 481 | 482LL | foo::<i64>(42i64); 483 | ^^^^^ 484 485error[E0308]: mismatched types 486 --> $DIR/numeric-suffix.rs:102:16 487 | 488LL | foo::<u32>(42_usize); 489 | ^^^^^^^^ expected `u32`, found `usize` 490 | 491help: change the type of the numeric literal from `usize` to `u32` 492 | 493LL | foo::<u32>(42_u32); 494 | ^^^^^^ 495 496error[E0308]: mismatched types 497 --> $DIR/numeric-suffix.rs:104:16 498 | 499LL | foo::<u32>(42_u64); 500 | ^^^^^^ expected `u32`, found `u64` 501 | 502help: change the type of the numeric literal from `u64` to `u32` 503 | 504LL | foo::<u32>(42_u32); 505 | ^^^^^^ 506 507error[E0308]: mismatched types 508 --> $DIR/numeric-suffix.rs:107:16 509 | 510LL | foo::<u32>(42_u16); 511 | ^^^^^^ expected `u32`, found `u16` 512 | 513help: change the type of the numeric literal from `u16` to `u32` 514 | 515LL | foo::<u32>(42_u32); 516 | ^^^^^^ 517 518error[E0308]: mismatched types 519 --> $DIR/numeric-suffix.rs:109:16 520 | 521LL | foo::<u32>(42_u8); 522 | ^^^^^ expected `u32`, found `u8` 523 | 524help: change the type of the numeric literal from `u8` to `u32` 525 | 526LL | foo::<u32>(42_u32); 527 | ^^^^^^ 528 529error[E0308]: mismatched types 530 --> $DIR/numeric-suffix.rs:111:16 531 | 532LL | foo::<u32>(42_isize); 533 | ^^^^^^^^ expected `u32`, found `isize` 534 | 535help: change the type of the numeric literal from `isize` to `u32` 536 | 537LL | foo::<u32>(42_u32); 538 | ^^^^^^ 539 540error[E0308]: mismatched types 541 --> $DIR/numeric-suffix.rs:113:16 542 | 543LL | foo::<u32>(42_i64); 544 | ^^^^^^ expected `u32`, found `i64` 545 | 546help: change the type of the numeric literal from `i64` to `u32` 547 | 548LL | foo::<u32>(42_u32); 549 | ^^^^^^ 550 551error[E0308]: mismatched types 552 --> $DIR/numeric-suffix.rs:115:16 553 | 554LL | foo::<u32>(42_i32); 555 | ^^^^^^ expected `u32`, found `i32` 556 | 557help: change the type of the numeric literal from `i32` to `u32` 558 | 559LL | foo::<u32>(42_u32); 560 | ^^^^^^ 561 562error[E0308]: mismatched types 563 --> $DIR/numeric-suffix.rs:117:16 564 | 565LL | foo::<u32>(42_i16); 566 | ^^^^^^ expected `u32`, found `i16` 567 | 568help: change the type of the numeric literal from `i16` to `u32` 569 | 570LL | foo::<u32>(42_u32); 571 | ^^^^^^ 572 573error[E0308]: mismatched types 574 --> $DIR/numeric-suffix.rs:119:16 575 | 576LL | foo::<u32>(42_i8); 577 | ^^^^^ expected `u32`, found `i8` 578 | 579help: change the type of the numeric literal from `i8` to `u32` 580 | 581LL | foo::<u32>(42_u32); 582 | ^^^^^^ 583 584error[E0308]: mismatched types 585 --> $DIR/numeric-suffix.rs:121:16 586 | 587LL | foo::<u32>(42.0_f64); 588 | ^^^^^^^^ expected `u32`, found `f64` 589 | 590help: change the type of the numeric literal from `f64` to `u32` 591 | 592LL | foo::<u32>(42u32); 593 | ^^^^^ 594 595error[E0308]: mismatched types 596 --> $DIR/numeric-suffix.rs:123:16 597 | 598LL | foo::<u32>(42.0_f32); 599 | ^^^^^^^^ expected `u32`, found `f32` 600 | 601help: change the type of the numeric literal from `f32` to `u32` 602 | 603LL | foo::<u32>(42u32); 604 | ^^^^^ 605 606error[E0308]: mismatched types 607 --> $DIR/numeric-suffix.rs:126:16 608 | 609LL | foo::<i32>(42_usize); 610 | ^^^^^^^^ expected `i32`, found `usize` 611 | 612help: change the type of the numeric literal from `usize` to `i32` 613 | 614LL | foo::<i32>(42_i32); 615 | ^^^^^^ 616 617error[E0308]: mismatched types 618 --> $DIR/numeric-suffix.rs:128:16 619 | 620LL | foo::<i32>(42_u64); 621 | ^^^^^^ expected `i32`, found `u64` 622 | 623help: change the type of the numeric literal from `u64` to `i32` 624 | 625LL | foo::<i32>(42_i32); 626 | ^^^^^^ 627 628error[E0308]: mismatched types 629 --> $DIR/numeric-suffix.rs:130:16 630 | 631LL | foo::<i32>(42_u32); 632 | ^^^^^^ expected `i32`, found `u32` 633 | 634help: change the type of the numeric literal from `u32` to `i32` 635 | 636LL | foo::<i32>(42_i32); 637 | ^^^^^^ 638 639error[E0308]: mismatched types 640 --> $DIR/numeric-suffix.rs:132:16 641 | 642LL | foo::<i32>(42_u16); 643 | ^^^^^^ expected `i32`, found `u16` 644 | 645help: change the type of the numeric literal from `u16` to `i32` 646 | 647LL | foo::<i32>(42_i32); 648 | ^^^^^^ 649 650error[E0308]: mismatched types 651 --> $DIR/numeric-suffix.rs:134:16 652 | 653LL | foo::<i32>(42_u8); 654 | ^^^^^ expected `i32`, found `u8` 655 | 656help: change the type of the numeric literal from `u8` to `i32` 657 | 658LL | foo::<i32>(42_i32); 659 | ^^^^^^ 660 661error[E0308]: mismatched types 662 --> $DIR/numeric-suffix.rs:136:16 663 | 664LL | foo::<i32>(42_isize); 665 | ^^^^^^^^ expected `i32`, found `isize` 666 | 667help: change the type of the numeric literal from `isize` to `i32` 668 | 669LL | foo::<i32>(42_i32); 670 | ^^^^^^ 671 672error[E0308]: mismatched types 673 --> $DIR/numeric-suffix.rs:138:16 674 | 675LL | foo::<i32>(42_i64); 676 | ^^^^^^ expected `i32`, found `i64` 677 | 678help: change the type of the numeric literal from `i64` to `i32` 679 | 680LL | foo::<i32>(42_i32); 681 | ^^^^^^ 682 683error[E0308]: mismatched types 684 --> $DIR/numeric-suffix.rs:141:16 685 | 686LL | foo::<i32>(42_i16); 687 | ^^^^^^ expected `i32`, found `i16` 688 | 689help: change the type of the numeric literal from `i16` to `i32` 690 | 691LL | foo::<i32>(42_i32); 692 | ^^^^^^ 693 694error[E0308]: mismatched types 695 --> $DIR/numeric-suffix.rs:143:16 696 | 697LL | foo::<i32>(42_i8); 698 | ^^^^^ expected `i32`, found `i8` 699 | 700help: change the type of the numeric literal from `i8` to `i32` 701 | 702LL | foo::<i32>(42_i32); 703 | ^^^^^^ 704 705error[E0308]: mismatched types 706 --> $DIR/numeric-suffix.rs:145:16 707 | 708LL | foo::<i32>(42.0_f64); 709 | ^^^^^^^^ expected `i32`, found `f64` 710 | 711help: change the type of the numeric literal from `f64` to `i32` 712 | 713LL | foo::<i32>(42i32); 714 | ^^^^^ 715 716error[E0308]: mismatched types 717 --> $DIR/numeric-suffix.rs:147:16 718 | 719LL | foo::<i32>(42.0_f32); 720 | ^^^^^^^^ expected `i32`, found `f32` 721 | 722help: change the type of the numeric literal from `f32` to `i32` 723 | 724LL | foo::<i32>(42i32); 725 | ^^^^^ 726 727error[E0308]: mismatched types 728 --> $DIR/numeric-suffix.rs:150:16 729 | 730LL | foo::<u16>(42_usize); 731 | ^^^^^^^^ expected `u16`, found `usize` 732 | 733help: change the type of the numeric literal from `usize` to `u16` 734 | 735LL | foo::<u16>(42_u16); 736 | ^^^^^^ 737 738error[E0308]: mismatched types 739 --> $DIR/numeric-suffix.rs:152:16 740 | 741LL | foo::<u16>(42_u64); 742 | ^^^^^^ expected `u16`, found `u64` 743 | 744help: change the type of the numeric literal from `u64` to `u16` 745 | 746LL | foo::<u16>(42_u16); 747 | ^^^^^^ 748 749error[E0308]: mismatched types 750 --> $DIR/numeric-suffix.rs:154:16 751 | 752LL | foo::<u16>(42_u32); 753 | ^^^^^^ expected `u16`, found `u32` 754 | 755help: change the type of the numeric literal from `u32` to `u16` 756 | 757LL | foo::<u16>(42_u16); 758 | ^^^^^^ 759 760error[E0308]: mismatched types 761 --> $DIR/numeric-suffix.rs:157:16 762 | 763LL | foo::<u16>(42_u8); 764 | ^^^^^ expected `u16`, found `u8` 765 | 766help: change the type of the numeric literal from `u8` to `u16` 767 | 768LL | foo::<u16>(42_u16); 769 | ^^^^^^ 770 771error[E0308]: mismatched types 772 --> $DIR/numeric-suffix.rs:159:16 773 | 774LL | foo::<u16>(42_isize); 775 | ^^^^^^^^ expected `u16`, found `isize` 776 | 777help: change the type of the numeric literal from `isize` to `u16` 778 | 779LL | foo::<u16>(42_u16); 780 | ^^^^^^ 781 782error[E0308]: mismatched types 783 --> $DIR/numeric-suffix.rs:161:16 784 | 785LL | foo::<u16>(42_i64); 786 | ^^^^^^ expected `u16`, found `i64` 787 | 788help: change the type of the numeric literal from `i64` to `u16` 789 | 790LL | foo::<u16>(42_u16); 791 | ^^^^^^ 792 793error[E0308]: mismatched types 794 --> $DIR/numeric-suffix.rs:163:16 795 | 796LL | foo::<u16>(42_i32); 797 | ^^^^^^ expected `u16`, found `i32` 798 | 799help: change the type of the numeric literal from `i32` to `u16` 800 | 801LL | foo::<u16>(42_u16); 802 | ^^^^^^ 803 804error[E0308]: mismatched types 805 --> $DIR/numeric-suffix.rs:165:16 806 | 807LL | foo::<u16>(42_i16); 808 | ^^^^^^ expected `u16`, found `i16` 809 | 810help: change the type of the numeric literal from `i16` to `u16` 811 | 812LL | foo::<u16>(42_u16); 813 | ^^^^^^ 814 815error[E0308]: mismatched types 816 --> $DIR/numeric-suffix.rs:167:16 817 | 818LL | foo::<u16>(42_i8); 819 | ^^^^^ expected `u16`, found `i8` 820 | 821help: change the type of the numeric literal from `i8` to `u16` 822 | 823LL | foo::<u16>(42_u16); 824 | ^^^^^^ 825 826error[E0308]: mismatched types 827 --> $DIR/numeric-suffix.rs:169:16 828 | 829LL | foo::<u16>(42.0_f64); 830 | ^^^^^^^^ expected `u16`, found `f64` 831 | 832help: change the type of the numeric literal from `f64` to `u16` 833 | 834LL | foo::<u16>(42u16); 835 | ^^^^^ 836 837error[E0308]: mismatched types 838 --> $DIR/numeric-suffix.rs:171:16 839 | 840LL | foo::<u16>(42.0_f32); 841 | ^^^^^^^^ expected `u16`, found `f32` 842 | 843help: change the type of the numeric literal from `f32` to `u16` 844 | 845LL | foo::<u16>(42u16); 846 | ^^^^^ 847 848error[E0308]: mismatched types 849 --> $DIR/numeric-suffix.rs:174:16 850 | 851LL | foo::<i16>(42_usize); 852 | ^^^^^^^^ expected `i16`, found `usize` 853 | 854help: change the type of the numeric literal from `usize` to `i16` 855 | 856LL | foo::<i16>(42_i16); 857 | ^^^^^^ 858 859error[E0308]: mismatched types 860 --> $DIR/numeric-suffix.rs:176:16 861 | 862LL | foo::<i16>(42_u64); 863 | ^^^^^^ expected `i16`, found `u64` 864 | 865help: change the type of the numeric literal from `u64` to `i16` 866 | 867LL | foo::<i16>(42_i16); 868 | ^^^^^^ 869 870error[E0308]: mismatched types 871 --> $DIR/numeric-suffix.rs:178:16 872 | 873LL | foo::<i16>(42_u32); 874 | ^^^^^^ expected `i16`, found `u32` 875 | 876help: change the type of the numeric literal from `u32` to `i16` 877 | 878LL | foo::<i16>(42_i16); 879 | ^^^^^^ 880 881error[E0308]: mismatched types 882 --> $DIR/numeric-suffix.rs:180:16 883 | 884LL | foo::<i16>(42_u16); 885 | ^^^^^^ expected `i16`, found `u16` 886 | 887help: change the type of the numeric literal from `u16` to `i16` 888 | 889LL | foo::<i16>(42_i16); 890 | ^^^^^^ 891 892error[E0308]: mismatched types 893 --> $DIR/numeric-suffix.rs:182:16 894 | 895LL | foo::<i16>(42_u8); 896 | ^^^^^ expected `i16`, found `u8` 897 | 898help: change the type of the numeric literal from `u8` to `i16` 899 | 900LL | foo::<i16>(42_i16); 901 | ^^^^^^ 902 903error[E0308]: mismatched types 904 --> $DIR/numeric-suffix.rs:184:16 905 | 906LL | foo::<i16>(42_isize); 907 | ^^^^^^^^ expected `i16`, found `isize` 908 | 909help: change the type of the numeric literal from `isize` to `i16` 910 | 911LL | foo::<i16>(42_i16); 912 | ^^^^^^ 913 914error[E0308]: mismatched types 915 --> $DIR/numeric-suffix.rs:186:16 916 | 917LL | foo::<i16>(42_i64); 918 | ^^^^^^ expected `i16`, found `i64` 919 | 920help: change the type of the numeric literal from `i64` to `i16` 921 | 922LL | foo::<i16>(42_i16); 923 | ^^^^^^ 924 925error[E0308]: mismatched types 926 --> $DIR/numeric-suffix.rs:188:16 927 | 928LL | foo::<i16>(42_i32); 929 | ^^^^^^ expected `i16`, found `i32` 930 | 931help: change the type of the numeric literal from `i32` to `i16` 932 | 933LL | foo::<i16>(42_i16); 934 | ^^^^^^ 935 936error[E0308]: mismatched types 937 --> $DIR/numeric-suffix.rs:191:16 938 | 939LL | foo::<i16>(42_i8); 940 | ^^^^^ expected `i16`, found `i8` 941 | 942help: change the type of the numeric literal from `i8` to `i16` 943 | 944LL | foo::<i16>(42_i16); 945 | ^^^^^^ 946 947error[E0308]: mismatched types 948 --> $DIR/numeric-suffix.rs:193:16 949 | 950LL | foo::<i16>(42.0_f64); 951 | ^^^^^^^^ expected `i16`, found `f64` 952 | 953help: change the type of the numeric literal from `f64` to `i16` 954 | 955LL | foo::<i16>(42i16); 956 | ^^^^^ 957 958error[E0308]: mismatched types 959 --> $DIR/numeric-suffix.rs:195:16 960 | 961LL | foo::<i16>(42.0_f32); 962 | ^^^^^^^^ expected `i16`, found `f32` 963 | 964help: change the type of the numeric literal from `f32` to `i16` 965 | 966LL | foo::<i16>(42i16); 967 | ^^^^^ 968 969error[E0308]: mismatched types 970 --> $DIR/numeric-suffix.rs:198:15 971 | 972LL | foo::<u8>(42_usize); 973 | ^^^^^^^^ expected `u8`, found `usize` 974 | 975help: change the type of the numeric literal from `usize` to `u8` 976 | 977LL | foo::<u8>(42_u8); 978 | ^^^^^ 979 980error[E0308]: mismatched types 981 --> $DIR/numeric-suffix.rs:200:15 982 | 983LL | foo::<u8>(42_u64); 984 | ^^^^^^ expected `u8`, found `u64` 985 | 986help: change the type of the numeric literal from `u64` to `u8` 987 | 988LL | foo::<u8>(42_u8); 989 | ^^^^^ 990 991error[E0308]: mismatched types 992 --> $DIR/numeric-suffix.rs:202:15 993 | 994LL | foo::<u8>(42_u32); 995 | ^^^^^^ expected `u8`, found `u32` 996 | 997help: change the type of the numeric literal from `u32` to `u8` 998 | 999LL | foo::<u8>(42_u8); 1000 | ^^^^^ 1001 1002error[E0308]: mismatched types 1003 --> $DIR/numeric-suffix.rs:204:15 1004 | 1005LL | foo::<u8>(42_u16); 1006 | ^^^^^^ expected `u8`, found `u16` 1007 | 1008help: change the type of the numeric literal from `u16` to `u8` 1009 | 1010LL | foo::<u8>(42_u8); 1011 | ^^^^^ 1012 1013error[E0308]: mismatched types 1014 --> $DIR/numeric-suffix.rs:207:15 1015 | 1016LL | foo::<u8>(42_isize); 1017 | ^^^^^^^^ expected `u8`, found `isize` 1018 | 1019help: change the type of the numeric literal from `isize` to `u8` 1020 | 1021LL | foo::<u8>(42_u8); 1022 | ^^^^^ 1023 1024error[E0308]: mismatched types 1025 --> $DIR/numeric-suffix.rs:209:15 1026 | 1027LL | foo::<u8>(42_i64); 1028 | ^^^^^^ expected `u8`, found `i64` 1029 | 1030help: change the type of the numeric literal from `i64` to `u8` 1031 | 1032LL | foo::<u8>(42_u8); 1033 | ^^^^^ 1034 1035error[E0308]: mismatched types 1036 --> $DIR/numeric-suffix.rs:211:15 1037 | 1038LL | foo::<u8>(42_i32); 1039 | ^^^^^^ expected `u8`, found `i32` 1040 | 1041help: change the type of the numeric literal from `i32` to `u8` 1042 | 1043LL | foo::<u8>(42_u8); 1044 | ^^^^^ 1045 1046error[E0308]: mismatched types 1047 --> $DIR/numeric-suffix.rs:213:15 1048 | 1049LL | foo::<u8>(42_i16); 1050 | ^^^^^^ expected `u8`, found `i16` 1051 | 1052help: change the type of the numeric literal from `i16` to `u8` 1053 | 1054LL | foo::<u8>(42_u8); 1055 | ^^^^^ 1056 1057error[E0308]: mismatched types 1058 --> $DIR/numeric-suffix.rs:215:15 1059 | 1060LL | foo::<u8>(42_i8); 1061 | ^^^^^ expected `u8`, found `i8` 1062 | 1063help: change the type of the numeric literal from `i8` to `u8` 1064 | 1065LL | foo::<u8>(42_u8); 1066 | ^^^^^ 1067 1068error[E0308]: mismatched types 1069 --> $DIR/numeric-suffix.rs:217:15 1070 | 1071LL | foo::<u8>(42.0_f64); 1072 | ^^^^^^^^ expected `u8`, found `f64` 1073 | 1074help: change the type of the numeric literal from `f64` to `u8` 1075 | 1076LL | foo::<u8>(42u8); 1077 | ^^^^ 1078 1079error[E0308]: mismatched types 1080 --> $DIR/numeric-suffix.rs:219:15 1081 | 1082LL | foo::<u8>(42.0_f32); 1083 | ^^^^^^^^ expected `u8`, found `f32` 1084 | 1085help: change the type of the numeric literal from `f32` to `u8` 1086 | 1087LL | foo::<u8>(42u8); 1088 | ^^^^ 1089 1090error[E0308]: mismatched types 1091 --> $DIR/numeric-suffix.rs:222:15 1092 | 1093LL | foo::<i8>(42_usize); 1094 | ^^^^^^^^ expected `i8`, found `usize` 1095 | 1096help: change the type of the numeric literal from `usize` to `i8` 1097 | 1098LL | foo::<i8>(42_i8); 1099 | ^^^^^ 1100 1101error[E0308]: mismatched types 1102 --> $DIR/numeric-suffix.rs:224:15 1103 | 1104LL | foo::<i8>(42_u64); 1105 | ^^^^^^ expected `i8`, found `u64` 1106 | 1107help: change the type of the numeric literal from `u64` to `i8` 1108 | 1109LL | foo::<i8>(42_i8); 1110 | ^^^^^ 1111 1112error[E0308]: mismatched types 1113 --> $DIR/numeric-suffix.rs:226:15 1114 | 1115LL | foo::<i8>(42_u32); 1116 | ^^^^^^ expected `i8`, found `u32` 1117 | 1118help: change the type of the numeric literal from `u32` to `i8` 1119 | 1120LL | foo::<i8>(42_i8); 1121 | ^^^^^ 1122 1123error[E0308]: mismatched types 1124 --> $DIR/numeric-suffix.rs:228:15 1125 | 1126LL | foo::<i8>(42_u16); 1127 | ^^^^^^ expected `i8`, found `u16` 1128 | 1129help: change the type of the numeric literal from `u16` to `i8` 1130 | 1131LL | foo::<i8>(42_i8); 1132 | ^^^^^ 1133 1134error[E0308]: mismatched types 1135 --> $DIR/numeric-suffix.rs:230:15 1136 | 1137LL | foo::<i8>(42_u8); 1138 | ^^^^^ expected `i8`, found `u8` 1139 | 1140help: change the type of the numeric literal from `u8` to `i8` 1141 | 1142LL | foo::<i8>(42_i8); 1143 | ^^^^^ 1144 1145error[E0308]: mismatched types 1146 --> $DIR/numeric-suffix.rs:232:15 1147 | 1148LL | foo::<i8>(42_isize); 1149 | ^^^^^^^^ expected `i8`, found `isize` 1150 | 1151help: change the type of the numeric literal from `isize` to `i8` 1152 | 1153LL | foo::<i8>(42_i8); 1154 | ^^^^^ 1155 1156error[E0308]: mismatched types 1157 --> $DIR/numeric-suffix.rs:234:15 1158 | 1159LL | foo::<i8>(42_i64); 1160 | ^^^^^^ expected `i8`, found `i64` 1161 | 1162help: change the type of the numeric literal from `i64` to `i8` 1163 | 1164LL | foo::<i8>(42_i8); 1165 | ^^^^^ 1166 1167error[E0308]: mismatched types 1168 --> $DIR/numeric-suffix.rs:236:15 1169 | 1170LL | foo::<i8>(42_i32); 1171 | ^^^^^^ expected `i8`, found `i32` 1172 | 1173help: change the type of the numeric literal from `i32` to `i8` 1174 | 1175LL | foo::<i8>(42_i8); 1176 | ^^^^^ 1177 1178error[E0308]: mismatched types 1179 --> $DIR/numeric-suffix.rs:238:15 1180 | 1181LL | foo::<i8>(42_i16); 1182 | ^^^^^^ expected `i8`, found `i16` 1183 | 1184help: change the type of the numeric literal from `i16` to `i8` 1185 | 1186LL | foo::<i8>(42_i8); 1187 | ^^^^^ 1188 1189error[E0308]: mismatched types 1190 --> $DIR/numeric-suffix.rs:241:15 1191 | 1192LL | foo::<i8>(42.0_f64); 1193 | ^^^^^^^^ expected `i8`, found `f64` 1194 | 1195help: change the type of the numeric literal from `f64` to `i8` 1196 | 1197LL | foo::<i8>(42i8); 1198 | ^^^^ 1199 1200error[E0308]: mismatched types 1201 --> $DIR/numeric-suffix.rs:243:15 1202 | 1203LL | foo::<i8>(42.0_f32); 1204 | ^^^^^^^^ expected `i8`, found `f32` 1205 | 1206help: change the type of the numeric literal from `f32` to `i8` 1207 | 1208LL | foo::<i8>(42i8); 1209 | ^^^^ 1210 1211error[E0308]: mismatched types 1212 --> $DIR/numeric-suffix.rs:246:16 1213 | 1214LL | foo::<f64>(42_usize); 1215 | ^^^^^^^^ expected `f64`, found `usize` 1216 | 1217help: change the type of the numeric literal from `usize` to `f64` 1218 | 1219LL | foo::<f64>(42_f64); 1220 | ^^^^^^ 1221 1222error[E0308]: mismatched types 1223 --> $DIR/numeric-suffix.rs:248:16 1224 | 1225LL | foo::<f64>(42_u64); 1226 | ^^^^^^ expected `f64`, found `u64` 1227 | 1228help: change the type of the numeric literal from `u64` to `f64` 1229 | 1230LL | foo::<f64>(42_f64); 1231 | ^^^^^^ 1232 1233error[E0308]: mismatched types 1234 --> $DIR/numeric-suffix.rs:250:16 1235 | 1236LL | foo::<f64>(42_u32); 1237 | ^^^^^^ expected `f64`, found `u32` 1238 | 1239help: you can convert an `u32` to `f64`, producing the floating point representation of the integer 1240 | 1241LL | foo::<f64>(42_u32.into()); 1242 | ^^^^^^^^^^^^^ 1243 1244error[E0308]: mismatched types 1245 --> $DIR/numeric-suffix.rs:252:16 1246 | 1247LL | foo::<f64>(42_u16); 1248 | ^^^^^^ expected `f64`, found `u16` 1249 | 1250help: you can convert an `u16` to `f64`, producing the floating point representation of the integer 1251 | 1252LL | foo::<f64>(42_u16.into()); 1253 | ^^^^^^^^^^^^^ 1254 1255error[E0308]: mismatched types 1256 --> $DIR/numeric-suffix.rs:254:16 1257 | 1258LL | foo::<f64>(42_u8); 1259 | ^^^^^ expected `f64`, found `u8` 1260 | 1261help: you can convert an `u8` to `f64`, producing the floating point representation of the integer 1262 | 1263LL | foo::<f64>(42_u8.into()); 1264 | ^^^^^^^^^^^^ 1265 1266error[E0308]: mismatched types 1267 --> $DIR/numeric-suffix.rs:256:16 1268 | 1269LL | foo::<f64>(42_isize); 1270 | ^^^^^^^^ expected `f64`, found `isize` 1271 | 1272help: change the type of the numeric literal from `isize` to `f64` 1273 | 1274LL | foo::<f64>(42_f64); 1275 | ^^^^^^ 1276 1277error[E0308]: mismatched types 1278 --> $DIR/numeric-suffix.rs:258:16 1279 | 1280LL | foo::<f64>(42_i64); 1281 | ^^^^^^ expected `f64`, found `i64` 1282 | 1283help: change the type of the numeric literal from `i64` to `f64` 1284 | 1285LL | foo::<f64>(42_f64); 1286 | ^^^^^^ 1287 1288error[E0308]: mismatched types 1289 --> $DIR/numeric-suffix.rs:260:16 1290 | 1291LL | foo::<f64>(42_i32); 1292 | ^^^^^^ expected `f64`, found `i32` 1293 | 1294help: you can convert an `i32` to `f64`, producing the floating point representation of the integer 1295 | 1296LL | foo::<f64>(42_i32.into()); 1297 | ^^^^^^^^^^^^^ 1298 1299error[E0308]: mismatched types 1300 --> $DIR/numeric-suffix.rs:262:16 1301 | 1302LL | foo::<f64>(42_i16); 1303 | ^^^^^^ expected `f64`, found `i16` 1304 | 1305help: you can convert an `i16` to `f64`, producing the floating point representation of the integer 1306 | 1307LL | foo::<f64>(42_i16.into()); 1308 | ^^^^^^^^^^^^^ 1309 1310error[E0308]: mismatched types 1311 --> $DIR/numeric-suffix.rs:264:16 1312 | 1313LL | foo::<f64>(42_i8); 1314 | ^^^^^ expected `f64`, found `i8` 1315 | 1316help: you can convert an `i8` to `f64`, producing the floating point representation of the integer 1317 | 1318LL | foo::<f64>(42_i8.into()); 1319 | ^^^^^^^^^^^^ 1320 1321error[E0308]: mismatched types 1322 --> $DIR/numeric-suffix.rs:267:16 1323 | 1324LL | foo::<f64>(42.0_f32); 1325 | ^^^^^^^^ expected `f64`, found `f32` 1326 | 1327help: change the type of the numeric literal from `f32` to `f64` 1328 | 1329LL | foo::<f64>(42.0_f64); 1330 | ^^^^^^^^ 1331 1332error[E0308]: mismatched types 1333 --> $DIR/numeric-suffix.rs:270:16 1334 | 1335LL | foo::<f32>(42_usize); 1336 | ^^^^^^^^ expected `f32`, found `usize` 1337 | 1338help: change the type of the numeric literal from `usize` to `f32` 1339 | 1340LL | foo::<f32>(42_f32); 1341 | ^^^^^^ 1342 1343error[E0308]: mismatched types 1344 --> $DIR/numeric-suffix.rs:272:16 1345 | 1346LL | foo::<f32>(42_u64); 1347 | ^^^^^^ expected `f32`, found `u64` 1348 | 1349help: change the type of the numeric literal from `u64` to `f32` 1350 | 1351LL | foo::<f32>(42_f32); 1352 | ^^^^^^ 1353 1354error[E0308]: mismatched types 1355 --> $DIR/numeric-suffix.rs:274:16 1356 | 1357LL | foo::<f32>(42_u32); 1358 | ^^^^^^ expected `f32`, found `u32` 1359 | 1360help: change the type of the numeric literal from `u32` to `f32` 1361 | 1362LL | foo::<f32>(42_f32); 1363 | ^^^^^^ 1364 1365error[E0308]: mismatched types 1366 --> $DIR/numeric-suffix.rs:276:16 1367 | 1368LL | foo::<f32>(42_u16); 1369 | ^^^^^^ expected `f32`, found `u16` 1370 | 1371help: you can convert an `u16` to `f32`, producing the floating point representation of the integer 1372 | 1373LL | foo::<f32>(42_u16.into()); 1374 | ^^^^^^^^^^^^^ 1375 1376error[E0308]: mismatched types 1377 --> $DIR/numeric-suffix.rs:278:16 1378 | 1379LL | foo::<f32>(42_u8); 1380 | ^^^^^ expected `f32`, found `u8` 1381 | 1382help: you can convert an `u8` to `f32`, producing the floating point representation of the integer 1383 | 1384LL | foo::<f32>(42_u8.into()); 1385 | ^^^^^^^^^^^^ 1386 1387error[E0308]: mismatched types 1388 --> $DIR/numeric-suffix.rs:280:16 1389 | 1390LL | foo::<f32>(42_isize); 1391 | ^^^^^^^^ expected `f32`, found `isize` 1392 | 1393help: change the type of the numeric literal from `isize` to `f32` 1394 | 1395LL | foo::<f32>(42_f32); 1396 | ^^^^^^ 1397 1398error[E0308]: mismatched types 1399 --> $DIR/numeric-suffix.rs:282:16 1400 | 1401LL | foo::<f32>(42_i64); 1402 | ^^^^^^ expected `f32`, found `i64` 1403 | 1404help: change the type of the numeric literal from `i64` to `f32` 1405 | 1406LL | foo::<f32>(42_f32); 1407 | ^^^^^^ 1408 1409error[E0308]: mismatched types 1410 --> $DIR/numeric-suffix.rs:284:16 1411 | 1412LL | foo::<f32>(42_i32); 1413 | ^^^^^^ expected `f32`, found `i32` 1414 | 1415help: change the type of the numeric literal from `i32` to `f32` 1416 | 1417LL | foo::<f32>(42_f32); 1418 | ^^^^^^ 1419 1420error[E0308]: mismatched types 1421 --> $DIR/numeric-suffix.rs:286:16 1422 | 1423LL | foo::<f32>(42_i16); 1424 | ^^^^^^ expected `f32`, found `i16` 1425 | 1426help: you can convert an `i16` to `f32`, producing the floating point representation of the integer 1427 | 1428LL | foo::<f32>(42_i16.into()); 1429 | ^^^^^^^^^^^^^ 1430 1431error[E0308]: mismatched types 1432 --> $DIR/numeric-suffix.rs:288:16 1433 | 1434LL | foo::<f32>(42_i8); 1435 | ^^^^^ expected `f32`, found `i8` 1436 | 1437help: you can convert an `i8` to `f32`, producing the floating point representation of the integer 1438 | 1439LL | foo::<f32>(42_i8.into()); 1440 | ^^^^^^^^^^^^ 1441 1442error[E0308]: mismatched types 1443 --> $DIR/numeric-suffix.rs:290:16 1444 | 1445LL | foo::<f32>(42.0_f64); 1446 | ^^^^^^^^ expected `f32`, found `f64` 1447 | 1448help: change the type of the numeric literal from `f64` to `f32` 1449 | 1450LL | foo::<f32>(42.0_f32); 1451 | ^^^^^^^^ 1452 1453error[E0308]: mismatched types 1454 --> $DIR/numeric-suffix.rs:294:16 1455 | 1456LL | foo::<u32>(42_u8 as u16); 1457 | ^^^^^^^^^^^^ 1458 | | 1459 | expected `u32`, found `u16` 1460 | help: you can convert an `u16` to `u32`: `(42_u8 as u16).into()` 1461 1462error[E0308]: mismatched types 1463 --> $DIR/numeric-suffix.rs:296:16 1464 | 1465LL | foo::<i32>(-42_i8); 1466 | ^^^^^^ 1467 | | 1468 | expected `i32`, found `i8` 1469 | help: you can convert an `i8` to `i32`: `(-42_i8).into()` 1470 1471error: aborting due to 134 previous errors 1472 1473For more information about this error, try `rustc --explain E0308`.