Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-20005.rs
blob: 6d63c9e5b613a3d47435ae5b3bec3958a0e3d940 [
file
] [
log
] [
blame
]
trait
From
<
Src
>
{
type
Result
;
fn
from
(
src
:
Src
)
->
Self
::
Result
;
}
trait
To
{
fn
to
<
Dst
>(
//~ ERROR the size for values of type
self
)
->
<
Dst
as
From
<
Self
>>::
Result
where
Dst
:
From
<
Self
>
{
From
::
from
(
self
)
}
}
fn
main
()
{}