1 // An unknown source type should be gracefully handled.
4 #![feature(transmutability)]
5 #![allow(dead_code, incomplete_features, non_camel_case_types)]
8 use std::mem::BikeshedIntrinsicFrom;
11 pub fn is_transmutable<Src, Dst, Context>()
13 Dst: BikeshedIntrinsicFrom<Src, Context, false, false, false, false>
17 fn should_gracefully_handle_unknown_src() {
19 #[repr(C)] struct Dst;
20 assert::is_transmutable::<Src, Dst, Context>(); //~ cannot find type