Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
ui
/
issues
/
issue-23122-1.rs
blob: d6f64650f36bb6332ce22692af622c369a93afd3 [
file
] [
log
] [
blame
]
trait
Next
{
type
Next
:
Next
;
}
struct
GetNext
<
T
:
Next
>
{
t
:
T
}
impl
<
T
:
Next
>
Next
for
GetNext
<
T
>
{
//~^ ERROR overflow evaluating the requirement
type
Next
=
<
GetNext
<
T
>
as
Next
>::
Next
;
//~^ ERROR overflow evaluating the requirement
}
fn
main
()
{}