{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/5244","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/5244/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/5244/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/5244/events","html_url":"https://github.com/rust-lang/rust/issues/5244","id":11691393,"number":5244,"title":"should be possible to do [CopyableVariant, ..n] for a non-copyable type","user":{"login":"thestinger","id":1505226,"avatar_url":"https://avatars.githubusercontent.com/u/1505226?v=3","gravatar_id":"","url":"https://api.github.com/users/thestinger","html_url":"https://github.com/thestinger","followers_url":"https://api.github.com/users/thestinger/followers","following_url":"https://api.github.com/users/thestinger/following{/other_user}","gists_url":"https://api.github.com/users/thestinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thestinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestinger/subscriptions","organizations_url":"https://api.github.com/users/thestinger/orgs","repos_url":"https://api.github.com/users/thestinger/repos","events_url":"https://api.github.com/users/thestinger/events{/privacy}","received_events_url":"https://api.github.com/users/thestinger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-typesystem","name":"A-typesystem","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-enhancement","name":"I-enhancement","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2013-03-05T23:22:53Z","updated_at":"2015-11-12T19:33:06Z","closed_at":"2015-11-12T19:33:06Z","body":"This should be fixable by special casing this (the type isn't copyable, but for this specific case the variant is).\r\n\r\nThis problem only exists with fixed-size vectors since `vec::from_fn(10, |_| None)` works with non-copyable types.\r\n\r\n@nikomatsakis thinks this should be fixable"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/156210252","html_url":"https://github.com/rust-lang/rust/issues/5244#issuecomment-156210252","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/5244","id":156210252,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T19:33:06Z","updated_at":"2015-11-12T19:33:06Z","body":"Moving to the RFC repo generally https://github.com/rust-lang/rfcs/issues/1366"}}