1 2 3 4 5 6 7 8 9 10
#![feature(const_for)] #![feature(const_mut_refs)] const _: () = { for _ in 0..5 {} //~^ error: cannot call //~| error: cannot convert }; fn main() {}