Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
//@ run-pass
fn tuple() {
let x = (1,);
match x {
(2, ..) => panic!(),
(..) => ()
}
fn tuple_struct() {
struct S(u8);
let x = S(1);
S(2, ..) => panic!(),
S(..) => ()
fn main() {
tuple();
tuple_struct();