]> git.lizzy.rs Git - rust.git/blob - tests/ui/diverging-fn-tail-35849.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / diverging-fn-tail-35849.rs
1 fn assert_sizeof() -> ! {
2     unsafe {
3         ::std::mem::transmute::<f64, [u8; 8]>(panic!())
4             //~^ ERROR mismatched types
5     }
6 }
7
8 fn main() { }