1 2 3 4 5 6 7
const fn foo<T>() { const { foo::<&T>() } //~ ERROR: queries overflow the depth limit! } fn main () { const X: () = foo::<i32>(); }