//! This test used to get stuck in an infinite //! recursion during normalization. //! //! issue: https://github.com/rust-lang/rust/issues/133901 #![feature(trait_alias)] fn foo>() {} trait Baz = Baz>; //~^ ERROR: cycle detected when computing the implied predicates of `Baz` fn main() {}