blob: 5fc1ee0e36948156eb9585d5910085e626d762e4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![feature(const_for)]
#![feature(const_mut_refs)]
const _: () = {
for _ in 0..5 {}
//~^ error: calls in constants are limited to
//~| error: calls in constants are limited to
};
fn main() {}
|