Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
pattern
/
uninit-trivial.rs
blob: 6ea6796c1c1f0de8b231452c5aa6b2e4d75f7bad [
file
] [
log
] [
blame
]
// Regression test for the semantic changes in
// <https://github.com/rust-lang/rust/pull/139042>.
fn
main
()
{
let
x
;
let
(
0
|
_
)
=
x
;
//~^ ERROR used binding `x` isn't initialized
}