mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
9 lines
196 B
Rust
9 lines
196 B
Rust
// 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
|
|
}
|