Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
auxiliary
/
rpitit.rs
blob: cfc2193f633e0d218f913237b4df142d0b5e94d1 [
file
] [
log
] [
blame
]
#![
feature
(
return_position_impl_trait_in_trait
)]
use
std
::
ops
::
Deref
;
pub
trait
Foo
{
fn
bar
(
self
)
->
impl
Deref
<
Target
=
impl
Sized
>;
}
pub
struct
Foreign
;
impl
Foo
for
Foreign
{
fn
bar
(
self
)
->
&
'
static
()
{
&()
}
}