Sign in
fuchsia
/
third_party
/
rust
/
5b7d64e9473216dc8650ca5f910100389ab91726
/
.
/
src
/
test
/
ui
/
exclusive-range
/
exclusive_range_pattern_syntax_collision.rs
blob: d97b693f520983dbc86e9779b2e933a935075926 [
file
] [
log
] [
blame
]
#![
feature
(
exclusive_range_pattern
)]
fn
main
()
{
match
[
5.
.
4
,
99.
.
105
,
43.
.
44
]
{
[
_
,
99.
.,
_
]
=>
{},
//~^ ERROR `X..` range patterns are not supported
//~| ERROR mismatched types
_
=>
{},
}
}