Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-34373.rs
blob: ca24e37d9bb11b4b5d2027cc0dd1991a5583af6f [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
trait
Trait
<
T
>
{
fn
foo
(
_
:
T
)
{}
}
pub
struct
Foo
<
T
=
Box
<
Trait
<
DefaultFoo
>>>;
//~ ERROR cycle detected
type
DefaultFoo
=
Foo
;
fn
main
()
{
}