Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-exhaustive-patterns.rs
blob: 27ff5ace25ddc2754e312b7de0c71a80e51c7b86 [
file
] [
log
] [
blame
]
#![
feature
(
never_type
)]
fn
foo
()
->
Result
<
u32
,
!>
{
Ok
(
123
)
}
fn
main
()
{
let
Ok
(
_x
)
=
foo
();
//~ ERROR refutable pattern in local binding
}