Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
generics
/
auxiliary
/
generic-impl-method-match-autoderef-18514.rs
blob: 20c8e60ee4573dbc46a544fb1cec7a55b0583a63 [
file
] [
log
] [
blame
]
#![
crate_type
=
"rlib"
]
pub
trait
Tr
{
fn
tr
(&
self
);
}
pub
struct
St
<
V
>(
pub
Vec
<
V
>);
impl
<
V
>
Tr
for
St
<
V
>
{
fn
tr
(&
self
)
{
match
self
{
&
St
(
ref
v
)
=>
{
v
.
iter
();
}
}
}
}