{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24791","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24791/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24791/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24791/events","html_url":"https://github.com/rust-lang/rust/issues/24791","id":70812155,"number":24791,"title":"Unstable indexing permitted in beta channel","user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-nominated","name":"I-nominated","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T22:39:27Z","updated_at":"2015-04-24T22:48:08Z","closed_at":null,"body":"I just discovered you can slice the slice iterator. It's neat, but unstable. `.as_slice()` as well as the `Index` implementations for the `slice::Iter` are marked unstable, but you can still use the slicing syntax in the beta channel.\r\n\r\nCompiles in rustc 1.0.0-beta.2 (e9080ec39 2015-04-16) (built 2015-04-16)\r\n\r\n```rust\r\nprintln!(\"{:?}\", &[1,2,3].iter()[..1]);\r\n```\r\n\r\nThe effect is that converting iterators to slices isn't closed down like it was intended."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/96088531","html_url":"https://github.com/rust-lang/rust/issues/24791#issuecomment-96088531","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/24791","id":96088531,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T22:48:08Z","updated_at":"2015-04-24T22:48:08Z","body":"This is an unfortunate fallout of our current stability system, although it looks like we don't currently have another open bug on this. The consequence is that the stability of an `impl` is not tracked, only the stability of the trait itself is considered when evaluating the stability of a method call.\r\n\r\n(unfortunately)."}}