blob: 020c417bf61adaf3725d676b6c0deb1c7c441732 (
plain)
1
2
3
4
5
6
7
|
//https://github.com/rust-lang/rust/issues/31364
const fn a() -> usize { b() } //~ ERROR evaluation of constant value failed
const fn b() -> usize { a() }
const ARR: [i32; a()] = [5; 6];
fn main(){}
|