1 2 3 4 5 6 7 8 9 10 11
// check-pass #![feature(inline_const)] pub fn todo<T>() -> T { const { todo!() } } fn main() { let _: usize = const { 0 }; }