fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: usage of the `u8::to_ne_bytes` method 2 --> $DIR/endian_bytes.rs:7:9 3 | 4LL | 2u8.to_ne_bytes(); 5 | ^^^^^^^^^^^^^^^^^ 6... 7LL | fn host() { fn_body!(); } 8 | ---------- in this macro invocation 9 | 10 = help: specify the desired endianness explicitly 11 = note: `-D clippy::host-endian-bytes` implied by `-D warnings` 12 = help: to override `-D warnings` add `#[allow(clippy::host_endian_bytes)]` 13 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 14 15error: usage of the `i8::to_ne_bytes` method 16 --> $DIR/endian_bytes.rs:8:9 17 | 18LL | 2i8.to_ne_bytes(); 19 | ^^^^^^^^^^^^^^^^^ 20... 21LL | fn host() { fn_body!(); } 22 | ---------- in this macro invocation 23 | 24 = help: specify the desired endianness explicitly 25 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 26 27error: usage of the `u16::to_ne_bytes` method 28 --> $DIR/endian_bytes.rs:9:9 29 | 30LL | 2u16.to_ne_bytes(); 31 | ^^^^^^^^^^^^^^^^^^ 32... 33LL | fn host() { fn_body!(); } 34 | ---------- in this macro invocation 35 | 36 = help: specify the desired endianness explicitly 37 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 38 39error: usage of the `i16::to_ne_bytes` method 40 --> $DIR/endian_bytes.rs:10:9 41 | 42LL | 2i16.to_ne_bytes(); 43 | ^^^^^^^^^^^^^^^^^^ 44... 45LL | fn host() { fn_body!(); } 46 | ---------- in this macro invocation 47 | 48 = help: specify the desired endianness explicitly 49 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 50 51error: usage of the `u32::to_ne_bytes` method 52 --> $DIR/endian_bytes.rs:11:9 53 | 54LL | 2u32.to_ne_bytes(); 55 | ^^^^^^^^^^^^^^^^^^ 56... 57LL | fn host() { fn_body!(); } 58 | ---------- in this macro invocation 59 | 60 = help: specify the desired endianness explicitly 61 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 62 63error: usage of the `i32::to_ne_bytes` method 64 --> $DIR/endian_bytes.rs:12:9 65 | 66LL | 2i32.to_ne_bytes(); 67 | ^^^^^^^^^^^^^^^^^^ 68... 69LL | fn host() { fn_body!(); } 70 | ---------- in this macro invocation 71 | 72 = help: specify the desired endianness explicitly 73 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 74 75error: usage of the `u64::to_ne_bytes` method 76 --> $DIR/endian_bytes.rs:13:9 77 | 78LL | 2u64.to_ne_bytes(); 79 | ^^^^^^^^^^^^^^^^^^ 80... 81LL | fn host() { fn_body!(); } 82 | ---------- in this macro invocation 83 | 84 = help: specify the desired endianness explicitly 85 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 86 87error: usage of the `i64::to_ne_bytes` method 88 --> $DIR/endian_bytes.rs:14:9 89 | 90LL | 2i64.to_ne_bytes(); 91 | ^^^^^^^^^^^^^^^^^^ 92... 93LL | fn host() { fn_body!(); } 94 | ---------- in this macro invocation 95 | 96 = help: specify the desired endianness explicitly 97 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 98 99error: usage of the `u128::to_ne_bytes` method 100 --> $DIR/endian_bytes.rs:15:9 101 | 102LL | 2u128.to_ne_bytes(); 103 | ^^^^^^^^^^^^^^^^^^^ 104... 105LL | fn host() { fn_body!(); } 106 | ---------- in this macro invocation 107 | 108 = help: specify the desired endianness explicitly 109 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 110 111error: usage of the `i128::to_ne_bytes` method 112 --> $DIR/endian_bytes.rs:16:9 113 | 114LL | 2i128.to_ne_bytes(); 115 | ^^^^^^^^^^^^^^^^^^^ 116... 117LL | fn host() { fn_body!(); } 118 | ---------- in this macro invocation 119 | 120 = help: specify the desired endianness explicitly 121 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 122 123error: usage of the `f32::to_ne_bytes` method 124 --> $DIR/endian_bytes.rs:17:9 125 | 126LL | 2.0f32.to_ne_bytes(); 127 | ^^^^^^^^^^^^^^^^^^^^ 128... 129LL | fn host() { fn_body!(); } 130 | ---------- in this macro invocation 131 | 132 = help: specify the desired endianness explicitly 133 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 134 135error: usage of the `f64::to_ne_bytes` method 136 --> $DIR/endian_bytes.rs:18:9 137 | 138LL | 2.0f64.to_ne_bytes(); 139 | ^^^^^^^^^^^^^^^^^^^^ 140... 141LL | fn host() { fn_body!(); } 142 | ---------- in this macro invocation 143 | 144 = help: specify the desired endianness explicitly 145 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 146 147error: usage of the `usize::to_ne_bytes` method 148 --> $DIR/endian_bytes.rs:19:9 149 | 150LL | 2usize.to_ne_bytes(); 151 | ^^^^^^^^^^^^^^^^^^^^ 152... 153LL | fn host() { fn_body!(); } 154 | ---------- in this macro invocation 155 | 156 = help: specify the desired endianness explicitly 157 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 158 159error: usage of the `isize::to_ne_bytes` method 160 --> $DIR/endian_bytes.rs:20:9 161 | 162LL | 2isize.to_ne_bytes(); 163 | ^^^^^^^^^^^^^^^^^^^^ 164... 165LL | fn host() { fn_body!(); } 166 | ---------- in this macro invocation 167 | 168 = help: specify the desired endianness explicitly 169 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 170 171error: usage of the function `u8::from_ne_bytes` 172 --> $DIR/endian_bytes.rs:21:9 173 | 174LL | u8::from_ne_bytes(todo!()); 175 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 176... 177LL | fn host() { fn_body!(); } 178 | ---------- in this macro invocation 179 | 180 = help: specify the desired endianness explicitly 181 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 182 183error: usage of the function `i8::from_ne_bytes` 184 --> $DIR/endian_bytes.rs:22:9 185 | 186LL | i8::from_ne_bytes(todo!()); 187 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 188... 189LL | fn host() { fn_body!(); } 190 | ---------- in this macro invocation 191 | 192 = help: specify the desired endianness explicitly 193 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 194 195error: usage of the function `u16::from_ne_bytes` 196 --> $DIR/endian_bytes.rs:23:9 197 | 198LL | u16::from_ne_bytes(todo!()); 199 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 200... 201LL | fn host() { fn_body!(); } 202 | ---------- in this macro invocation 203 | 204 = help: specify the desired endianness explicitly 205 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 206 207error: usage of the function `i16::from_ne_bytes` 208 --> $DIR/endian_bytes.rs:24:9 209 | 210LL | i16::from_ne_bytes(todo!()); 211 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 212... 213LL | fn host() { fn_body!(); } 214 | ---------- in this macro invocation 215 | 216 = help: specify the desired endianness explicitly 217 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 218 219error: usage of the function `u32::from_ne_bytes` 220 --> $DIR/endian_bytes.rs:25:9 221 | 222LL | u32::from_ne_bytes(todo!()); 223 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 224... 225LL | fn host() { fn_body!(); } 226 | ---------- in this macro invocation 227 | 228 = help: specify the desired endianness explicitly 229 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 230 231error: usage of the function `i32::from_ne_bytes` 232 --> $DIR/endian_bytes.rs:26:9 233 | 234LL | i32::from_ne_bytes(todo!()); 235 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 236... 237LL | fn host() { fn_body!(); } 238 | ---------- in this macro invocation 239 | 240 = help: specify the desired endianness explicitly 241 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 242 243error: usage of the function `u64::from_ne_bytes` 244 --> $DIR/endian_bytes.rs:27:9 245 | 246LL | u64::from_ne_bytes(todo!()); 247 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 248... 249LL | fn host() { fn_body!(); } 250 | ---------- in this macro invocation 251 | 252 = help: specify the desired endianness explicitly 253 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 254 255error: usage of the function `i64::from_ne_bytes` 256 --> $DIR/endian_bytes.rs:28:9 257 | 258LL | i64::from_ne_bytes(todo!()); 259 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 260... 261LL | fn host() { fn_body!(); } 262 | ---------- in this macro invocation 263 | 264 = help: specify the desired endianness explicitly 265 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 266 267error: usage of the function `u128::from_ne_bytes` 268 --> $DIR/endian_bytes.rs:29:9 269 | 270LL | u128::from_ne_bytes(todo!()); 271 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272... 273LL | fn host() { fn_body!(); } 274 | ---------- in this macro invocation 275 | 276 = help: specify the desired endianness explicitly 277 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 278 279error: usage of the function `i128::from_ne_bytes` 280 --> $DIR/endian_bytes.rs:30:9 281 | 282LL | i128::from_ne_bytes(todo!()); 283 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 284... 285LL | fn host() { fn_body!(); } 286 | ---------- in this macro invocation 287 | 288 = help: specify the desired endianness explicitly 289 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 290 291error: usage of the function `usize::from_ne_bytes` 292 --> $DIR/endian_bytes.rs:31:9 293 | 294LL | usize::from_ne_bytes(todo!()); 295 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 296... 297LL | fn host() { fn_body!(); } 298 | ---------- in this macro invocation 299 | 300 = help: specify the desired endianness explicitly 301 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 302 303error: usage of the function `isize::from_ne_bytes` 304 --> $DIR/endian_bytes.rs:32:9 305 | 306LL | isize::from_ne_bytes(todo!()); 307 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 308... 309LL | fn host() { fn_body!(); } 310 | ---------- in this macro invocation 311 | 312 = help: specify the desired endianness explicitly 313 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 314 315error: usage of the function `f32::from_ne_bytes` 316 --> $DIR/endian_bytes.rs:33:9 317 | 318LL | f32::from_ne_bytes(todo!()); 319 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 320... 321LL | fn host() { fn_body!(); } 322 | ---------- in this macro invocation 323 | 324 = help: specify the desired endianness explicitly 325 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 326 327error: usage of the function `f64::from_ne_bytes` 328 --> $DIR/endian_bytes.rs:34:9 329 | 330LL | f64::from_ne_bytes(todo!()); 331 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 332... 333LL | fn host() { fn_body!(); } 334 | ---------- in this macro invocation 335 | 336 = help: specify the desired endianness explicitly 337 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 338 339error: usage of the `u8::to_le_bytes` method 340 --> $DIR/endian_bytes.rs:36:9 341 | 342LL | 2u8.to_le_bytes(); 343 | ^^^^^^^^^^^^^^^^^ 344... 345LL | fn little() { fn_body!(); } 346 | ---------- in this macro invocation 347 | 348 = help: use the native endianness instead 349 = note: `-D clippy::little-endian-bytes` implied by `-D warnings` 350 = help: to override `-D warnings` add `#[allow(clippy::little_endian_bytes)]` 351 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 352 353error: usage of the `i8::to_le_bytes` method 354 --> $DIR/endian_bytes.rs:37:9 355 | 356LL | 2i8.to_le_bytes(); 357 | ^^^^^^^^^^^^^^^^^ 358... 359LL | fn little() { fn_body!(); } 360 | ---------- in this macro invocation 361 | 362 = help: use the native endianness instead 363 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 364 365error: usage of the `u16::to_le_bytes` method 366 --> $DIR/endian_bytes.rs:38:9 367 | 368LL | 2u16.to_le_bytes(); 369 | ^^^^^^^^^^^^^^^^^^ 370... 371LL | fn little() { fn_body!(); } 372 | ---------- in this macro invocation 373 | 374 = help: use the native endianness instead 375 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 376 377error: usage of the `i16::to_le_bytes` method 378 --> $DIR/endian_bytes.rs:39:9 379 | 380LL | 2i16.to_le_bytes(); 381 | ^^^^^^^^^^^^^^^^^^ 382... 383LL | fn little() { fn_body!(); } 384 | ---------- in this macro invocation 385 | 386 = help: use the native endianness instead 387 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 388 389error: usage of the `u32::to_le_bytes` method 390 --> $DIR/endian_bytes.rs:40:9 391 | 392LL | 2u32.to_le_bytes(); 393 | ^^^^^^^^^^^^^^^^^^ 394... 395LL | fn little() { fn_body!(); } 396 | ---------- in this macro invocation 397 | 398 = help: use the native endianness instead 399 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 400 401error: usage of the `i32::to_le_bytes` method 402 --> $DIR/endian_bytes.rs:41:9 403 | 404LL | 2i32.to_le_bytes(); 405 | ^^^^^^^^^^^^^^^^^^ 406... 407LL | fn little() { fn_body!(); } 408 | ---------- in this macro invocation 409 | 410 = help: use the native endianness instead 411 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 412 413error: usage of the `u64::to_le_bytes` method 414 --> $DIR/endian_bytes.rs:42:9 415 | 416LL | 2u64.to_le_bytes(); 417 | ^^^^^^^^^^^^^^^^^^ 418... 419LL | fn little() { fn_body!(); } 420 | ---------- in this macro invocation 421 | 422 = help: use the native endianness instead 423 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 424 425error: usage of the `i64::to_le_bytes` method 426 --> $DIR/endian_bytes.rs:43:9 427 | 428LL | 2i64.to_le_bytes(); 429 | ^^^^^^^^^^^^^^^^^^ 430... 431LL | fn little() { fn_body!(); } 432 | ---------- in this macro invocation 433 | 434 = help: use the native endianness instead 435 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 436 437error: usage of the `u128::to_le_bytes` method 438 --> $DIR/endian_bytes.rs:44:9 439 | 440LL | 2u128.to_le_bytes(); 441 | ^^^^^^^^^^^^^^^^^^^ 442... 443LL | fn little() { fn_body!(); } 444 | ---------- in this macro invocation 445 | 446 = help: use the native endianness instead 447 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 448 449error: usage of the `i128::to_le_bytes` method 450 --> $DIR/endian_bytes.rs:45:9 451 | 452LL | 2i128.to_le_bytes(); 453 | ^^^^^^^^^^^^^^^^^^^ 454... 455LL | fn little() { fn_body!(); } 456 | ---------- in this macro invocation 457 | 458 = help: use the native endianness instead 459 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 460 461error: usage of the `f32::to_le_bytes` method 462 --> $DIR/endian_bytes.rs:46:9 463 | 464LL | 2.0f32.to_le_bytes(); 465 | ^^^^^^^^^^^^^^^^^^^^ 466... 467LL | fn little() { fn_body!(); } 468 | ---------- in this macro invocation 469 | 470 = help: use the native endianness instead 471 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 472 473error: usage of the `f64::to_le_bytes` method 474 --> $DIR/endian_bytes.rs:47:9 475 | 476LL | 2.0f64.to_le_bytes(); 477 | ^^^^^^^^^^^^^^^^^^^^ 478... 479LL | fn little() { fn_body!(); } 480 | ---------- in this macro invocation 481 | 482 = help: use the native endianness instead 483 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 484 485error: usage of the `usize::to_le_bytes` method 486 --> $DIR/endian_bytes.rs:48:9 487 | 488LL | 2usize.to_le_bytes(); 489 | ^^^^^^^^^^^^^^^^^^^^ 490... 491LL | fn little() { fn_body!(); } 492 | ---------- in this macro invocation 493 | 494 = help: use the native endianness instead 495 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 496 497error: usage of the `isize::to_le_bytes` method 498 --> $DIR/endian_bytes.rs:49:9 499 | 500LL | 2isize.to_le_bytes(); 501 | ^^^^^^^^^^^^^^^^^^^^ 502... 503LL | fn little() { fn_body!(); } 504 | ---------- in this macro invocation 505 | 506 = help: use the native endianness instead 507 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 508 509error: usage of the function `u8::from_le_bytes` 510 --> $DIR/endian_bytes.rs:50:9 511 | 512LL | u8::from_le_bytes(todo!()); 513 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 514... 515LL | fn little() { fn_body!(); } 516 | ---------- in this macro invocation 517 | 518 = help: use the native endianness instead 519 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 520 521error: usage of the function `i8::from_le_bytes` 522 --> $DIR/endian_bytes.rs:51:9 523 | 524LL | i8::from_le_bytes(todo!()); 525 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 526... 527LL | fn little() { fn_body!(); } 528 | ---------- in this macro invocation 529 | 530 = help: use the native endianness instead 531 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 532 533error: usage of the function `u16::from_le_bytes` 534 --> $DIR/endian_bytes.rs:52:9 535 | 536LL | u16::from_le_bytes(todo!()); 537 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 538... 539LL | fn little() { fn_body!(); } 540 | ---------- in this macro invocation 541 | 542 = help: use the native endianness instead 543 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 544 545error: usage of the function `i16::from_le_bytes` 546 --> $DIR/endian_bytes.rs:53:9 547 | 548LL | i16::from_le_bytes(todo!()); 549 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 550... 551LL | fn little() { fn_body!(); } 552 | ---------- in this macro invocation 553 | 554 = help: use the native endianness instead 555 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 556 557error: usage of the function `u32::from_le_bytes` 558 --> $DIR/endian_bytes.rs:54:9 559 | 560LL | u32::from_le_bytes(todo!()); 561 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 562... 563LL | fn little() { fn_body!(); } 564 | ---------- in this macro invocation 565 | 566 = help: use the native endianness instead 567 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 568 569error: usage of the function `i32::from_le_bytes` 570 --> $DIR/endian_bytes.rs:55:9 571 | 572LL | i32::from_le_bytes(todo!()); 573 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 574... 575LL | fn little() { fn_body!(); } 576 | ---------- in this macro invocation 577 | 578 = help: use the native endianness instead 579 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 580 581error: usage of the function `u64::from_le_bytes` 582 --> $DIR/endian_bytes.rs:56:9 583 | 584LL | u64::from_le_bytes(todo!()); 585 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 586... 587LL | fn little() { fn_body!(); } 588 | ---------- in this macro invocation 589 | 590 = help: use the native endianness instead 591 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 592 593error: usage of the function `i64::from_le_bytes` 594 --> $DIR/endian_bytes.rs:57:9 595 | 596LL | i64::from_le_bytes(todo!()); 597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 598... 599LL | fn little() { fn_body!(); } 600 | ---------- in this macro invocation 601 | 602 = help: use the native endianness instead 603 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 604 605error: usage of the function `u128::from_le_bytes` 606 --> $DIR/endian_bytes.rs:58:9 607 | 608LL | u128::from_le_bytes(todo!()); 609 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 610... 611LL | fn little() { fn_body!(); } 612 | ---------- in this macro invocation 613 | 614 = help: use the native endianness instead 615 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 616 617error: usage of the function `i128::from_le_bytes` 618 --> $DIR/endian_bytes.rs:59:9 619 | 620LL | i128::from_le_bytes(todo!()); 621 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 622... 623LL | fn little() { fn_body!(); } 624 | ---------- in this macro invocation 625 | 626 = help: use the native endianness instead 627 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 628 629error: usage of the function `usize::from_le_bytes` 630 --> $DIR/endian_bytes.rs:60:9 631 | 632LL | usize::from_le_bytes(todo!()); 633 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 634... 635LL | fn little() { fn_body!(); } 636 | ---------- in this macro invocation 637 | 638 = help: use the native endianness instead 639 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 640 641error: usage of the function `isize::from_le_bytes` 642 --> $DIR/endian_bytes.rs:61:9 643 | 644LL | isize::from_le_bytes(todo!()); 645 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 646... 647LL | fn little() { fn_body!(); } 648 | ---------- in this macro invocation 649 | 650 = help: use the native endianness instead 651 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 652 653error: usage of the function `f32::from_le_bytes` 654 --> $DIR/endian_bytes.rs:62:9 655 | 656LL | f32::from_le_bytes(todo!()); 657 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 658... 659LL | fn little() { fn_body!(); } 660 | ---------- in this macro invocation 661 | 662 = help: use the native endianness instead 663 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 664 665error: usage of the function `f64::from_le_bytes` 666 --> $DIR/endian_bytes.rs:63:9 667 | 668LL | f64::from_le_bytes(todo!()); 669 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 670... 671LL | fn little() { fn_body!(); } 672 | ---------- in this macro invocation 673 | 674 = help: use the native endianness instead 675 = note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info) 676 677error: usage of the `u8::to_ne_bytes` method 678 --> $DIR/endian_bytes.rs:70:9 679 | 680LL | 2u8.to_ne_bytes(); 681 | ^^^^^^^^^^^^^^^^^ 682... 683LL | fn host_encourage_little() { fn_body_smol!(); } 684 | --------------- in this macro invocation 685 | 686 = help: use `u8::to_le_bytes` instead 687 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 688 689error: usage of the function `u8::from_ne_bytes` 690 --> $DIR/endian_bytes.rs:71:9 691 | 692LL | u8::from_ne_bytes(todo!()); 693 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 694... 695LL | fn host_encourage_little() { fn_body_smol!(); } 696 | --------------- in this macro invocation 697 | 698 = help: use `u8::from_le_bytes` instead 699 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 700 701error: usage of the `u8::to_be_bytes` method 702 --> $DIR/endian_bytes.rs:76:9 703 | 704LL | 2u8.to_be_bytes(); 705 | ^^^^^^^^^^^^^^^^^ 706... 707LL | fn host_encourage_little() { fn_body_smol!(); } 708 | --------------- in this macro invocation 709 | 710 = help: use `u8::to_le_bytes` instead 711 = note: `-D clippy::big-endian-bytes` implied by `-D warnings` 712 = help: to override `-D warnings` add `#[allow(clippy::big_endian_bytes)]` 713 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 714 715error: usage of the function `u8::from_be_bytes` 716 --> $DIR/endian_bytes.rs:77:9 717 | 718LL | u8::from_be_bytes(todo!()); 719 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 720... 721LL | fn host_encourage_little() { fn_body_smol!(); } 722 | --------------- in this macro invocation 723 | 724 = help: use `u8::from_le_bytes` instead 725 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 726 727error: usage of the `u8::to_ne_bytes` method 728 --> $DIR/endian_bytes.rs:70:9 729 | 730LL | 2u8.to_ne_bytes(); 731 | ^^^^^^^^^^^^^^^^^ 732... 733LL | fn host_encourage_big() { fn_body_smol!(); } 734 | --------------- in this macro invocation 735 | 736 = help: use `u8::to_be_bytes` instead 737 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 738 739error: usage of the function `u8::from_ne_bytes` 740 --> $DIR/endian_bytes.rs:71:9 741 | 742LL | u8::from_ne_bytes(todo!()); 743 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 744... 745LL | fn host_encourage_big() { fn_body_smol!(); } 746 | --------------- in this macro invocation 747 | 748 = help: use `u8::from_be_bytes` instead 749 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 750 751error: usage of the `u8::to_le_bytes` method 752 --> $DIR/endian_bytes.rs:73:9 753 | 754LL | 2u8.to_le_bytes(); 755 | ^^^^^^^^^^^^^^^^^ 756... 757LL | fn host_encourage_big() { fn_body_smol!(); } 758 | --------------- in this macro invocation 759 | 760 = help: use `u8::to_be_bytes` instead 761 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 762 763error: usage of the function `u8::from_le_bytes` 764 --> $DIR/endian_bytes.rs:74:9 765 | 766LL | u8::from_le_bytes(todo!()); 767 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 768... 769LL | fn host_encourage_big() { fn_body_smol!(); } 770 | --------------- in this macro invocation 771 | 772 = help: use `u8::from_be_bytes` instead 773 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 774 775error: usage of the `u8::to_ne_bytes` method 776 --> $DIR/endian_bytes.rs:70:9 777 | 778LL | 2u8.to_ne_bytes(); 779 | ^^^^^^^^^^^^^^^^^ 780... 781LL | fn no_help() { fn_body_smol!(); } 782 | --------------- in this macro invocation 783 | 784 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 785 786error: usage of the function `u8::from_ne_bytes` 787 --> $DIR/endian_bytes.rs:71:9 788 | 789LL | u8::from_ne_bytes(todo!()); 790 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 791... 792LL | fn no_help() { fn_body_smol!(); } 793 | --------------- in this macro invocation 794 | 795 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 796 797error: usage of the `u8::to_le_bytes` method 798 --> $DIR/endian_bytes.rs:73:9 799 | 800LL | 2u8.to_le_bytes(); 801 | ^^^^^^^^^^^^^^^^^ 802... 803LL | fn no_help() { fn_body_smol!(); } 804 | --------------- in this macro invocation 805 | 806 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 807 808error: usage of the function `u8::from_le_bytes` 809 --> $DIR/endian_bytes.rs:74:9 810 | 811LL | u8::from_le_bytes(todo!()); 812 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 813... 814LL | fn no_help() { fn_body_smol!(); } 815 | --------------- in this macro invocation 816 | 817 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 818 819error: usage of the `u8::to_be_bytes` method 820 --> $DIR/endian_bytes.rs:76:9 821 | 822LL | 2u8.to_be_bytes(); 823 | ^^^^^^^^^^^^^^^^^ 824... 825LL | fn no_help() { fn_body_smol!(); } 826 | --------------- in this macro invocation 827 | 828 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 829 830error: usage of the function `u8::from_be_bytes` 831 --> $DIR/endian_bytes.rs:77:9 832 | 833LL | u8::from_be_bytes(todo!()); 834 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 835... 836LL | fn no_help() { fn_body_smol!(); } 837 | --------------- in this macro invocation 838 | 839 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 840 841error: usage of the `u8::to_le_bytes` method 842 --> $DIR/endian_bytes.rs:73:9 843 | 844LL | 2u8.to_le_bytes(); 845 | ^^^^^^^^^^^^^^^^^ 846... 847LL | fn little_encourage_host() { fn_body_smol!(); } 848 | --------------- in this macro invocation 849 | 850 = help: use the native endianness instead 851 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 852 853error: usage of the function `u8::from_le_bytes` 854 --> $DIR/endian_bytes.rs:74:9 855 | 856LL | u8::from_le_bytes(todo!()); 857 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 858... 859LL | fn little_encourage_host() { fn_body_smol!(); } 860 | --------------- in this macro invocation 861 | 862 = help: use the native endianness instead 863 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 864 865error: usage of the `u8::to_be_bytes` method 866 --> $DIR/endian_bytes.rs:76:9 867 | 868LL | 2u8.to_be_bytes(); 869 | ^^^^^^^^^^^^^^^^^ 870... 871LL | fn little_encourage_host() { fn_body_smol!(); } 872 | --------------- in this macro invocation 873 | 874 = help: use the native endianness instead 875 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 876 877error: usage of the function `u8::from_be_bytes` 878 --> $DIR/endian_bytes.rs:77:9 879 | 880LL | u8::from_be_bytes(todo!()); 881 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 882... 883LL | fn little_encourage_host() { fn_body_smol!(); } 884 | --------------- in this macro invocation 885 | 886 = help: use the native endianness instead 887 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 888 889error: usage of the `u8::to_ne_bytes` method 890 --> $DIR/endian_bytes.rs:70:9 891 | 892LL | 2u8.to_ne_bytes(); 893 | ^^^^^^^^^^^^^^^^^ 894... 895LL | fn little_encourage_big() { fn_body_smol!(); } 896 | --------------- in this macro invocation 897 | 898 = help: use `u8::to_be_bytes` instead 899 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 900 901error: usage of the function `u8::from_ne_bytes` 902 --> $DIR/endian_bytes.rs:71:9 903 | 904LL | u8::from_ne_bytes(todo!()); 905 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 906... 907LL | fn little_encourage_big() { fn_body_smol!(); } 908 | --------------- in this macro invocation 909 | 910 = help: use `u8::from_be_bytes` instead 911 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 912 913error: usage of the `u8::to_le_bytes` method 914 --> $DIR/endian_bytes.rs:73:9 915 | 916LL | 2u8.to_le_bytes(); 917 | ^^^^^^^^^^^^^^^^^ 918... 919LL | fn little_encourage_big() { fn_body_smol!(); } 920 | --------------- in this macro invocation 921 | 922 = help: use `u8::to_be_bytes` instead 923 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 924 925error: usage of the function `u8::from_le_bytes` 926 --> $DIR/endian_bytes.rs:74:9 927 | 928LL | u8::from_le_bytes(todo!()); 929 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 930... 931LL | fn little_encourage_big() { fn_body_smol!(); } 932 | --------------- in this macro invocation 933 | 934 = help: use `u8::from_be_bytes` instead 935 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 936 937error: usage of the `u8::to_le_bytes` method 938 --> $DIR/endian_bytes.rs:73:9 939 | 940LL | 2u8.to_le_bytes(); 941 | ^^^^^^^^^^^^^^^^^ 942... 943LL | fn big_encourage_host() { fn_body_smol!(); } 944 | --------------- in this macro invocation 945 | 946 = help: use the native endianness instead 947 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 948 949error: usage of the function `u8::from_le_bytes` 950 --> $DIR/endian_bytes.rs:74:9 951 | 952LL | u8::from_le_bytes(todo!()); 953 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 954... 955LL | fn big_encourage_host() { fn_body_smol!(); } 956 | --------------- in this macro invocation 957 | 958 = help: use the native endianness instead 959 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 960 961error: usage of the `u8::to_be_bytes` method 962 --> $DIR/endian_bytes.rs:76:9 963 | 964LL | 2u8.to_be_bytes(); 965 | ^^^^^^^^^^^^^^^^^ 966... 967LL | fn big_encourage_host() { fn_body_smol!(); } 968 | --------------- in this macro invocation 969 | 970 = help: use the native endianness instead 971 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 972 973error: usage of the function `u8::from_be_bytes` 974 --> $DIR/endian_bytes.rs:77:9 975 | 976LL | u8::from_be_bytes(todo!()); 977 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 978... 979LL | fn big_encourage_host() { fn_body_smol!(); } 980 | --------------- in this macro invocation 981 | 982 = help: use the native endianness instead 983 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 984 985error: usage of the `u8::to_ne_bytes` method 986 --> $DIR/endian_bytes.rs:70:9 987 | 988LL | 2u8.to_ne_bytes(); 989 | ^^^^^^^^^^^^^^^^^ 990... 991LL | fn big_encourage_little() { fn_body_smol!(); } 992 | --------------- in this macro invocation 993 | 994 = help: use `u8::to_le_bytes` instead 995 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 996 997error: usage of the function `u8::from_ne_bytes` 998 --> $DIR/endian_bytes.rs:71:9 999 | 1000LL | u8::from_ne_bytes(todo!()); 1001 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 1002... 1003LL | fn big_encourage_little() { fn_body_smol!(); } 1004 | --------------- in this macro invocation 1005 | 1006 = help: use `u8::from_le_bytes` instead 1007 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 1008 1009error: usage of the `u8::to_be_bytes` method 1010 --> $DIR/endian_bytes.rs:76:9 1011 | 1012LL | 2u8.to_be_bytes(); 1013 | ^^^^^^^^^^^^^^^^^ 1014... 1015LL | fn big_encourage_little() { fn_body_smol!(); } 1016 | --------------- in this macro invocation 1017 | 1018 = help: use `u8::to_le_bytes` instead 1019 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 1020 1021error: usage of the function `u8::from_be_bytes` 1022 --> $DIR/endian_bytes.rs:77:9 1023 | 1024LL | u8::from_be_bytes(todo!()); 1025 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 1026... 1027LL | fn big_encourage_little() { fn_body_smol!(); } 1028 | --------------- in this macro invocation 1029 | 1030 = help: use `u8::from_le_bytes` instead 1031 = note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info) 1032 1033error: aborting due to 86 previous errors 1034