Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
regions
/
issue-26448-1.rs
blob: 0fa40709a7b9536a43b27a717c9d19e19f6d43d5 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}