1 error[E0282]: type annotations needed
2 --> $DIR/pat-tuple-bad-type.rs:5:9
5 | - consider giving `x` a type
8 | ^^^^ cannot infer type
10 = note: type must be known at this point
12 error[E0308]: mismatched types
13 --> $DIR/pat-tuple-bad-type.rs:10:9
16 | ^^^^ expected u8, found ()
18 error: aborting due to 2 previous errors
20 Some errors have detailed explanations: E0282, E0308.
21 For more information about an error, try `rustc --explain E0282`.