mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 15:13:48 +00:00
8 lines
213 B
Rust
8 lines
213 B
Rust
fn main() {
|
|
let z = match 3 {
|
|
x(1) => x(1) //~ ERROR cannot find tuple struct or tuple variant `x` in this scope
|
|
//~^ ERROR cannot find function `x` in this scope
|
|
};
|
|
assert!(z == 3);
|
|
}
|