Sign in
rust
/
rust
/
cfbbb012bc108ee4cbc427c19b62e9e0b57f7fa0
/
.
/
tests
/
ui
/
parser
/
pat-lt-bracket-3.rs
blob: bd83fe8db4b564906c1680821e7105c31ec02885 [
file
]
struct
Foo
<
T
>(
T
,
T
);
impl
<
T
>
Foo
<
T
>
{
fn
foo
(&
self
)
{
match
*
self
{
Foo
<
T
>(
x
,
y
)
=>
{
//~ ERROR generic args in patterns require the turbofish syntax
println
!(
"Goodbye, World!"
)
}
}
}
}
fn
main
()
{}