Sign in
fuchsia
/
third_party
/
rust
/
a00b4f1401d12415d50653a0d4126e1c79151127
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-precise_pointer_size_matching.rs
blob: 1208552d256376b26926cc98dc462502dd81619e [
file
] [
log
] [
blame
]
#![
feature
(
exclusive_range_pattern
)]
use
std
::
usize
::
MAX
;
fn
main
()
{
match
0usize
{
//~ERROR non-exhaustive patterns: `_` not covered
0.
.=
MAX
=>
{}
}
match
0isize
{
//~ERROR non-exhaustive patterns: `_` not covered
1.
.=
20
=>
{}
-
5.
.
3
=>
{}
}
}