2022-01-11 17:55:56 -08:00
|
|
|
#![allow(unused)]
|
|
|
|
|
|
|
|
|
|
const fn f<T>(x: T) { //~ WARN function cannot return without recursing
|
|
|
|
|
f(x);
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-28 10:29:08 +00:00
|
|
|
const X: () = f(1); //~ ERROR reached the configured maximum number of stack frames
|
2022-01-11 17:55:56 -08:00
|
|
|
|
|
|
|
|
fn main() {}
|