aboutsummaryrefslogtreecommitdiff
path: root/tests/ui-msrv/include_value_wrong_size.stderr
blob: 30045849d7f37a21422775d080686efe9d80733e (plain)
1
2
3
4
5
6
7
8
9
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
  --> tests/ui-msrv/include_value_wrong_size.rs:11:25
   |
11 | const WRONG_SIZE: u64 = include_value!("../../testdata/include_value/data");
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: source type: `[u8; 4]` (32 bits)
   = note: target type: `u64` (64 bits)
   = note: this error originates in the macro `$crate::transmute` (in Nightly builds, run with -Z macro-backtrace for more info)