2 // FIXME(const_generics): This test causes an ICE after reverting #76030.
3 #![feature(adt_const_params)]
4 #![allow(incomplete_features)]
7 struct Bug<const S: &'static str>;
12 // FIXME(adt_const_params): Decide on how to deal with invalid values as const params.
13 std::mem::transmute::<&[u8], &str>(&[0xC0, 0xC1, 0xF5])