Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
pat-lt-bracket-3.rs
blob: bd83fe8db4b564906c1680821e7105c31ec02885 [
file
] [
log
] [
blame
] [
edit
]
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
()
{}