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