{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2000","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2000/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2000/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2000/events","html_url":"https://github.com/rust-lang/rfcs/pull/2000","id":228138466,"number":2000,"title":"Const generics","user":{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false},"labels":[{"id":216585564,"url":"https://api.github.com/repos/rust-lang/rfcs/labels/final-comment-period","name":"final-comment-period","color":"207de5","default":false},{"id":620628473,"url":"https://api.github.com/repos/rust-lang/rfcs/labels/S-needs-summary","name":"S-needs-summary","color":"d3dddd","default":false},{"id":211667886,"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false},"assignees":[{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false}],"milestone":null,"comments":128,"created_at":"2017-05-11T22:24:42Z","updated_at":"2017-09-14T10:52:44Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/2000","html_url":"https://github.com/rust-lang/rfcs/pull/2000","diff_url":"https://github.com/rust-lang/rfcs/pull/2000.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/2000.patch"},"body":"This is a new const generics RFC which addresses the issues around equality between const variables that were raised in [this internals thread](https://internals.rust-lang.org/t/lang-team-minutes-const-generics/5090).\r\n\r\n[Rendered](https://github.com/withoutboats/rfcs/blob/const-generics/text/0000-const-generics.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/329446612","html_url":"https://github.com/rust-lang/rfcs/pull/2000#issuecomment-329446612","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2000","id":329446612,"user":{"login":"tomwhoiscontrary","id":539012,"avatar_url":"https://avatars0.githubusercontent.com/u/539012?v=4","gravatar_id":"","url":"https://api.github.com/users/tomwhoiscontrary","html_url":"https://github.com/tomwhoiscontrary","followers_url":"https://api.github.com/users/tomwhoiscontrary/followers","following_url":"https://api.github.com/users/tomwhoiscontrary/following{/other_user}","gists_url":"https://api.github.com/users/tomwhoiscontrary/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwhoiscontrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwhoiscontrary/subscriptions","organizations_url":"https://api.github.com/users/tomwhoiscontrary/orgs","repos_url":"https://api.github.com/users/tomwhoiscontrary/repos","events_url":"https://api.github.com/users/tomwhoiscontrary/events{/privacy}","received_events_url":"https://api.github.com/users/tomwhoiscontrary/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T10:52:44Z","updated_at":"2017-09-14T10:52:44Z","author_association":"NONE","body":"(Apologies if this has already been addressed, i'm still working through the RFC and comments)\r\n\r\n> Const parameters always come after type parameters\r\n\r\nWhy? I can vaguely imagine cases where i might prefer otherwise, like:\r\n\r\n```\r\nstruct ParallelStridedArrays<T, const T_STRIDE: usize, U, const U_STRIDE: usize> {\r\n  // ...\r\n}\r\n```\r\n\r\nIt's not a deal-breaker, but it will be a mild annoyance for someone at some point."}}
{"actor":{"display_login":"tomwhoiscontrary"}}