Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
pat-lt-bracket-4.rs
blob: 6d348b68cd66b1f465de665c2f08fa7358d156ff [
file
] [
log
] [
blame
] [
edit
]
enum
BtNode
{
Node
(
u32
,
Box
<
BtNode
>,
Box
<
BtNode
>),
Leaf
(
u32
),
}
fn
main
()
{
let
y
=
match
10
{
Foo
<
T
>::
A
(
value
)
=>
value
,
//~ ERROR generic args in patterns require the turbofish syntax
Foo
<
T
>::
B
=>
7
,
};
}