//@ build-fail #![recursion_limit = "7"] struct Thing(T); impl Thing { const X: usize = Thing::>::X; } fn main() { println!("{}", Thing::::X); //~ ERROR: queries overflow the depth limit! }