blob: ff9c977f79481e9911476b57a43959726894a106 [file] [log] [blame]
#![feature(const_for)]
#![feature(const_mut_refs)]
const _: () = {
for _ in 0..5 {}
//~^ error: cannot call
//~| error: cannot convert
//~| error: the trait bound
};
fn main() {}