Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
nested-rpitit-bounds.rs
blob: 10c2a81124346d25564e45e03eec07bf13342cf8 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
use
std
::
ops
::
Deref
;
trait
Foo
{
fn
foo
()
->
impl
Deref
<
Target
=
impl
Deref
<
Target
=
impl
Sized
>>
{
&&()
}
fn
bar
()
->
impl
Deref
<
Target
=
Option
<
impl
Sized
>>
{
&
Some
(())
}
}
fn
main
()
{}