Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
issues
/
issue-23122-2.rs
blob: 7866b931ec4b9d023e41fb3555d8ad86aef6a21c [
file
] [
log
] [
blame
]
// ignore-compare-mode-chalk
trait
Next
{
type
Next
:
Next
;
}
struct
GetNext
<
T
:
Next
>
{
t
:
T
}
impl
<
T
:
Next
>
Next
for
GetNext
<
T
>
{
type
Next
=
<
GetNext
<
T
::
Next
>
as
Next
>::
Next
;
//~^ ERROR overflow evaluating the requirement
}
fn
main
()
{}