error[E0308]: mismatched types
--> tests/bad/include_slice/f32_f64.rs:4:35
|
4 | static BYTES_32_f32_f64: &[f32] = include_data::include_slice!(f64, "../../test_data/binary_32");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[f32]`, found `&[f64]`
|
= note: expected reference `&'static [f32]`
found reference `&'static [f64]`
= note: this error originates in the macro `include_data::include_slice` (in Nightly builds, run with -Z macro-backtrace for more info)