1 error[E0282]: type annotations needed
2 --> $DIR/pat-tuple-bad-type.rs:2:9
8 | ---- type must be known at this point
10 help: consider giving `x` an explicit type
15 error[E0308]: mismatched types
16 --> $DIR/pat-tuple-bad-type.rs:10:9
19 | --- this expression has type `u8`
21 | ^^^^ expected `u8`, found `()`
23 error: aborting due to 2 previous errors
25 Some errors have detailed explanations: E0282, E0308.
26 For more information about an error, try `rustc --explain E0282`.