Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
issues
/
issue-34373.rs
blob: 02e1048e5a330d72239dc492ece4e140a90bae7c [
file
]
#![
allow
(
warnings
)]
//@ ignore-parallel-frontend query cycle
trait
Trait
<
T
>
{
fn
foo
(
_
:
T
)
{}
}
pub
struct
Foo
<
T
=
Box
<
dyn
Trait
<
DefaultFoo
>>>;
//~^ ERROR cycle detected when computing type of `Foo::T`
type
DefaultFoo
=
Foo
;
fn
main
()
{
}