summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/endian_bytes.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/endian_bytes.stderr')
-rw-r--r--src/tools/clippy/tests/ui/endian_bytes.stderr1031
1 files changed, 1031 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/endian_bytes.stderr b/src/tools/clippy/tests/ui/endian_bytes.stderr
new file mode 100644
index 000000000..5e64ea5b5
--- /dev/null
+++ b/src/tools/clippy/tests/ui/endian_bytes.stderr
@@ -0,0 +1,1031 @@
+error: usage of the `u8::to_ne_bytes` method
+ --> $DIR/endian_bytes.rs:7: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`
+ = 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
+ --> $DIR/endian_bytes.rs:8: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
+ --> $DIR/endian_bytes.rs:9: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
+ --> $DIR/endian_bytes.rs:10: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
+ --> $DIR/endian_bytes.rs:11: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
+ --> $DIR/endian_bytes.rs:12: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
+ --> $DIR/endian_bytes.rs:13: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
+ --> $DIR/endian_bytes.rs:14: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
+ --> $DIR/endian_bytes.rs:15: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
+ --> $DIR/endian_bytes.rs:16: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
+ --> $DIR/endian_bytes.rs:17: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
+ --> $DIR/endian_bytes.rs:18: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
+ --> $DIR/endian_bytes.rs:19: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
+ --> $DIR/endian_bytes.rs:20: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`
+ --> $DIR/endian_bytes.rs:21: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`
+ --> $DIR/endian_bytes.rs:22: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`
+ --> $DIR/endian_bytes.rs:23: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`
+ --> $DIR/endian_bytes.rs:24: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`
+ --> $DIR/endian_bytes.rs:25: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`
+ --> $DIR/endian_bytes.rs:26: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`
+ --> $DIR/endian_bytes.rs:27: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`
+ --> $DIR/endian_bytes.rs:28: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`
+ --> $DIR/endian_bytes.rs:29: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`
+ --> $DIR/endian_bytes.rs:30: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`
+ --> $DIR/endian_bytes.rs:31: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`
+ --> $DIR/endian_bytes.rs:32: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`
+ --> $DIR/endian_bytes.rs:33: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`
+ --> $DIR/endian_bytes.rs:34: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
+ --> $DIR/endian_bytes.rs:36: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`
+ = 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
+ --> $DIR/endian_bytes.rs:37: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
+ --> $DIR/endian_bytes.rs:38: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
+ --> $DIR/endian_bytes.rs:39: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
+ --> $DIR/endian_bytes.rs:40: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
+ --> $DIR/endian_bytes.rs:41: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
+ --> $DIR/endian_bytes.rs:42: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
+ --> $DIR/endian_bytes.rs:43: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
+ --> $DIR/endian_bytes.rs:44: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
+ --> $DIR/endian_bytes.rs:45: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
+ --> $DIR/endian_bytes.rs:46: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
+ --> $DIR/endian_bytes.rs:47: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
+ --> $DIR/endian_bytes.rs:48: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
+ --> $DIR/endian_bytes.rs:49: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`
+ --> $DIR/endian_bytes.rs:50: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`
+ --> $DIR/endian_bytes.rs:51: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`
+ --> $DIR/endian_bytes.rs:52: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`
+ --> $DIR/endian_bytes.rs:53: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`
+ --> $DIR/endian_bytes.rs:54: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`
+ --> $DIR/endian_bytes.rs:55: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`
+ --> $DIR/endian_bytes.rs:56: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`
+ --> $DIR/endian_bytes.rs:57: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`
+ --> $DIR/endian_bytes.rs:58: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`
+ --> $DIR/endian_bytes.rs:59: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`
+ --> $DIR/endian_bytes.rs:60: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`
+ --> $DIR/endian_bytes.rs:61: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`
+ --> $DIR/endian_bytes.rs:62: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`
+ --> $DIR/endian_bytes.rs:63: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
+ --> $DIR/endian_bytes.rs:70: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`
+ --> $DIR/endian_bytes.rs:71: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
+ --> $DIR/endian_bytes.rs:76: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`
+ = 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`
+ --> $DIR/endian_bytes.rs:77: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
+ --> $DIR/endian_bytes.rs:70: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`
+ --> $DIR/endian_bytes.rs:71: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
+ --> $DIR/endian_bytes.rs:73: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`
+ --> $DIR/endian_bytes.rs:74: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
+ --> $DIR/endian_bytes.rs:70: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`
+ --> $DIR/endian_bytes.rs:71: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
+ --> $DIR/endian_bytes.rs:73: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`
+ --> $DIR/endian_bytes.rs:74: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
+ --> $DIR/endian_bytes.rs:76: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`
+ --> $DIR/endian_bytes.rs:77: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
+ --> $DIR/endian_bytes.rs:73: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`
+ --> $DIR/endian_bytes.rs:74: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
+ --> $DIR/endian_bytes.rs:76: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`
+ --> $DIR/endian_bytes.rs:77: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
+ --> $DIR/endian_bytes.rs:70: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`
+ --> $DIR/endian_bytes.rs:71: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
+ --> $DIR/endian_bytes.rs:73: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`
+ --> $DIR/endian_bytes.rs:74: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
+ --> $DIR/endian_bytes.rs:73: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`
+ --> $DIR/endian_bytes.rs:74: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
+ --> $DIR/endian_bytes.rs:76: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`
+ --> $DIR/endian_bytes.rs:77: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
+ --> $DIR/endian_bytes.rs:70: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`
+ --> $DIR/endian_bytes.rs:71: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
+ --> $DIR/endian_bytes.rs:76: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`
+ --> $DIR/endian_bytes.rs:77: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
+