Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
half-open-range-patterns
/
pat-tuple-5.rs
blob: 613d907cfe329266b2e0f0ee56aa348ea2512dc8 [
file
] [
log
] [
blame
]
#![
feature
(
half_open_range_patterns
)]
#![
feature
(
exclusive_range_pattern
)]
fn
main
()
{
const
PAT
:
u8
=
1
;
match
(
0
,
1
)
{
(
PAT
..)
=>
{}
//~ ERROR mismatched types
}
}