Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
issue-5927.rs
blob: 14f95827be8ea7b84df20c973147ab0e932956c3 [
file
] [
log
] [
blame
] [
edit
]
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
);
}