blob: 9e3b7df7085b6b54330a1e90798948371de52e4f [file] [edit]
//! This test used to get stuck in an infinite
//! recursion during normalization.
//!
//! issue: https://github.com/rust-lang/rust/issues/133901
//@ ignore-parallel-frontend query cycle
#![feature(trait_alias)]
fn foo<T: Baz<i32>>() {}
trait Baz<A> = Baz<Option<A>>;
//~^ ERROR: cycle detected when computing the implied predicates of `Baz`
fn main() {}