{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/31271","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/31271/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/31271/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/31271/events","html_url":"https://github.com/rust-lang/rust/issues/31271","id":129589372,"number":31271,"title":"Possible undefined value with advanced slice pattern","user":{"login":"jorendorff","id":283361,"avatar_url":"https://avatars.githubusercontent.com/u/283361?v=3","gravatar_id":"","url":"https://api.github.com/users/jorendorff","html_url":"https://github.com/jorendorff","followers_url":"https://api.github.com/users/jorendorff/followers","following_url":"https://api.github.com/users/jorendorff/following{/other_user}","gists_url":"https://api.github.com/users/jorendorff/gists{/gist_id}","starred_url":"https://api.github.com/users/jorendorff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorendorff/subscriptions","organizations_url":"https://api.github.com/users/jorendorff/orgs","repos_url":"https://api.github.com/users/jorendorff/repos","events_url":"https://api.github.com/users/jorendorff/events{/privacy}","received_events_url":"https://api.github.com/users/jorendorff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-28T21:34:31Z","updated_at":"2016-01-28T21:34:31Z","closed_at":null,"body":"    #![feature(slice_patterns)]\r\n    #![feature(advanced_slice_patterns)]\r\n    \r\n    fn main() {\r\n        println!(\"{:?}\",\r\n            match [3, 4, 5] {\r\n                [3, [x, y..]..] => (x, y),\r\n                _ => panic!(\"fail\")\r\n            }\r\n        );\r\n    }\r\n\r\nIn the Rust Playground, outputs:\r\n\r\n    (1970220846, [])\r\n\r\nThat doesn't seem right."}}