Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
issues
/
issue-26448-1.rs
blob: 7d2d75bf2e87856804c667af100e237919742459 [
file
] [
log
] [
blame
]
// run-pass
pub
trait
Foo
<
T
>
{
fn
foo
(
self
)
->
T
;
}
impl
<
'a, T> Foo<T> for &'
a str where
&
'
a str
:
Into
<
T
>
{
fn
foo
(
self
)
->
T
{
panic
!();
}
}
fn
main
()
{}