Sign in
fuchsia
/
third_party
/
rust
/
51cc3cdcf060c1bf3e4d45947f7a6bc20f9960f7
/
.
/
src
/
test
/
ui
/
issues
/
issue-23122-1.rs
blob: a882aa36af758978bf08e529ff7a81f9934018f9 [
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
;
}
fn
main
()
{}