blob: f1f27dca8db2b0c4ca940bbd7717d9a4d6387530 [file]
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:8:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: `-D clippy::host-endian-bytes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::host_endian_bytes)]`
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:10:9
|
LL | 2i8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u16::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:12:9
|
LL | 2u16.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i16::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:14:9
|
LL | 2i16.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u32::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:16:9
|
LL | 2u32.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i32::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:18:9
|
LL | 2i32.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u64::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:20:9
|
LL | 2u64.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i64::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:22:9
|
LL | 2i64.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u128::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:24:9
|
LL | 2u128.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i128::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:26:9
|
LL | 2i128.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `f32::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:28:9
|
LL | 2.0f32.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `f64::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:30:9
|
LL | 2.0f64.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `usize::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:32:9
|
LL | 2usize.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `isize::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:34:9
|
LL | 2isize.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:36:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:38:9
|
LL | i8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u16::from_ne_bytes`
--> tests/ui/endian_bytes.rs:40:9
|
LL | u16::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i16::from_ne_bytes`
--> tests/ui/endian_bytes.rs:42:9
|
LL | i16::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u32::from_ne_bytes`
--> tests/ui/endian_bytes.rs:44:9
|
LL | u32::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i32::from_ne_bytes`
--> tests/ui/endian_bytes.rs:46:9
|
LL | i32::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u64::from_ne_bytes`
--> tests/ui/endian_bytes.rs:48:9
|
LL | u64::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i64::from_ne_bytes`
--> tests/ui/endian_bytes.rs:50:9
|
LL | i64::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u128::from_ne_bytes`
--> tests/ui/endian_bytes.rs:52:9
|
LL | u128::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i128::from_ne_bytes`
--> tests/ui/endian_bytes.rs:54:9
|
LL | i128::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `usize::from_ne_bytes`
--> tests/ui/endian_bytes.rs:56:9
|
LL | usize::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `isize::from_ne_bytes`
--> tests/ui/endian_bytes.rs:58:9
|
LL | isize::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `f32::from_ne_bytes`
--> tests/ui/endian_bytes.rs:60:9
|
LL | f32::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `f64::from_ne_bytes`
--> tests/ui/endian_bytes.rs:62:9
|
LL | f64::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host() { fn_body!(); }
| ---------- in this macro invocation
|
= help: specify the desired endianness explicitly
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:65:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: `-D clippy::little-endian-bytes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::little_endian_bytes)]`
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:67:9
|
LL | 2i8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u16::to_le_bytes` method
--> tests/ui/endian_bytes.rs:69:9
|
LL | 2u16.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i16::to_le_bytes` method
--> tests/ui/endian_bytes.rs:71:9
|
LL | 2i16.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u32::to_le_bytes` method
--> tests/ui/endian_bytes.rs:73:9
|
LL | 2u32.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i32::to_le_bytes` method
--> tests/ui/endian_bytes.rs:75:9
|
LL | 2i32.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u64::to_le_bytes` method
--> tests/ui/endian_bytes.rs:77:9
|
LL | 2u64.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i64::to_le_bytes` method
--> tests/ui/endian_bytes.rs:79:9
|
LL | 2i64.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u128::to_le_bytes` method
--> tests/ui/endian_bytes.rs:81:9
|
LL | 2u128.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `i128::to_le_bytes` method
--> tests/ui/endian_bytes.rs:83:9
|
LL | 2i128.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `f32::to_le_bytes` method
--> tests/ui/endian_bytes.rs:85:9
|
LL | 2.0f32.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `f64::to_le_bytes` method
--> tests/ui/endian_bytes.rs:87:9
|
LL | 2.0f64.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `usize::to_le_bytes` method
--> tests/ui/endian_bytes.rs:89:9
|
LL | 2usize.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `isize::to_le_bytes` method
--> tests/ui/endian_bytes.rs:91:9
|
LL | 2isize.to_le_bytes();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:93:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i8::from_le_bytes`
--> tests/ui/endian_bytes.rs:95:9
|
LL | i8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u16::from_le_bytes`
--> tests/ui/endian_bytes.rs:97:9
|
LL | u16::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i16::from_le_bytes`
--> tests/ui/endian_bytes.rs:99:9
|
LL | i16::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u32::from_le_bytes`
--> tests/ui/endian_bytes.rs:101:9
|
LL | u32::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i32::from_le_bytes`
--> tests/ui/endian_bytes.rs:103:9
|
LL | i32::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u64::from_le_bytes`
--> tests/ui/endian_bytes.rs:105:9
|
LL | u64::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i64::from_le_bytes`
--> tests/ui/endian_bytes.rs:107:9
|
LL | i64::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u128::from_le_bytes`
--> tests/ui/endian_bytes.rs:109:9
|
LL | u128::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `i128::from_le_bytes`
--> tests/ui/endian_bytes.rs:111:9
|
LL | i128::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `usize::from_le_bytes`
--> tests/ui/endian_bytes.rs:113:9
|
LL | usize::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `isize::from_le_bytes`
--> tests/ui/endian_bytes.rs:115:9
|
LL | isize::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `f32::from_le_bytes`
--> tests/ui/endian_bytes.rs:117:9
|
LL | f32::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `f64::from_le_bytes`
--> tests/ui/endian_bytes.rs:119:9
|
LL | f64::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little() { fn_body!(); }
| ---------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:127:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:133:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_be_bytes` method
--> tests/ui/endian_bytes.rs:153:9
|
LL | 2u8.to_be_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_le_bytes` instead
= note: `-D clippy::big-endian-bytes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::big_endian_bytes)]`
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_be_bytes`
--> tests/ui/endian_bytes.rs:159:9
|
LL | u8::from_be_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:127:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:133:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:140:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:146:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn host_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:127:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:133:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:140:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:146:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_be_bytes` method
--> tests/ui/endian_bytes.rs:153:9
|
LL | 2u8.to_be_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_be_bytes`
--> tests/ui/endian_bytes.rs:159:9
|
LL | u8::from_be_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn no_help() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:140:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:146:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_be_bytes` method
--> tests/ui/endian_bytes.rs:153:9
|
LL | 2u8.to_be_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_be_bytes`
--> tests/ui/endian_bytes.rs:159:9
|
LL | u8::from_be_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:127:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:133:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:140:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:146:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn little_encourage_big() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_be_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_le_bytes` method
--> tests/ui/endian_bytes.rs:140:9
|
LL | 2u8.to_le_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_le_bytes`
--> tests/ui/endian_bytes.rs:146:9
|
LL | u8::from_le_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_be_bytes` method
--> tests/ui/endian_bytes.rs:153:9
|
LL | 2u8.to_be_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_be_bytes`
--> tests/ui/endian_bytes.rs:159:9
|
LL | u8::from_be_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_host() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use the native endianness instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_ne_bytes` method
--> tests/ui/endian_bytes.rs:127:9
|
LL | 2u8.to_ne_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_ne_bytes`
--> tests/ui/endian_bytes.rs:133:9
|
LL | u8::from_ne_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the `u8::to_be_bytes` method
--> tests/ui/endian_bytes.rs:153:9
|
LL | 2u8.to_be_bytes();
| ^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::to_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: usage of the function `u8::from_be_bytes`
--> tests/ui/endian_bytes.rs:159:9
|
LL | u8::from_be_bytes(todo!());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | fn big_encourage_little() { fn_body_smol!(); }
| --------------- in this macro invocation
|
= help: use `u8::from_le_bytes` instead
= note: this error originates in the macro `fn_body_smol` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 86 previous errors