1 error[E0531]: cannot find tuple struct/variant `x` in this scope
2 --> $DIR/issue-5927.rs:14:9
4 LL | x(1) => x(1) //~ ERROR cannot find tuple struct/variant `x` in this scope
5 | ^ not found in this scope
7 error[E0425]: cannot find function `x` in this scope
8 --> $DIR/issue-5927.rs:14:17
10 LL | x(1) => x(1) //~ ERROR cannot find tuple struct/variant `x` in this scope
11 | ^ not found in this scope
13 error: aborting due to 2 previous errors
15 Some errors occurred: E0425, E0531.
16 For more information about an error, try `rustc --explain E0425`.