{"action":"reopened","number":865,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/865","id":29343156,"html_url":"https://github.com/rust-lang/rfcs/pull/865","diff_url":"https://github.com/rust-lang/rfcs/pull/865.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/865.patch","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865","number":865,"state":"open","locked":false,"title":"Update RFC 195 to account for RFC 246.","user":{"login":"quantheory","id":1740206,"avatar_url":"https://avatars.githubusercontent.com/u/1740206?v=3","gravatar_id":"","url":"https://api.github.com/users/quantheory","html_url":"https://github.com/quantheory","followers_url":"https://api.github.com/users/quantheory/followers","following_url":"https://api.github.com/users/quantheory/following{/other_user}","gists_url":"https://api.github.com/users/quantheory/gists{/gist_id}","starred_url":"https://api.github.com/users/quantheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantheory/subscriptions","organizations_url":"https://api.github.com/users/quantheory/orgs","repos_url":"https://api.github.com/users/quantheory/repos","events_url":"https://api.github.com/users/quantheory/events{/privacy}","received_events_url":"https://api.github.com/users/quantheory/received_events","type":"User","site_admin":false},"body":"Currently, the associated items RFC only provides for associated functions, lifetimes, statics, and types. However, it was never updated to account for the const/static split. This PR makes minimal changes to address this by adding associated consts as well.\r\n\r\n[Rendered.](https://github.com/rust-lang/rfcs/pull/865/files?short_path=e0686e7#diff-e0686e7af71a6699c8dc01e510e51e1c)\r\n\r\nThe original motivating example for statics really applies to consts now, and I have updated it accordingly. I have not added a motivating example for statics; I'm sure that there is a use case, but I have not come up with one that could be easily explained.\r\n\r\nI have also not bothered to update the examples to account for other RFCs (e.g. `uint` is now `usize`, `[T, ..N]` is now `[T; N]`). Maybe that would be worth doing for major RFCs that are going to be used as references into the future, but for now I left the RFC as it was historically accepted, since those other cases are not likely to cause confusion about what was intended.","created_at":"2015-02-15T23:16:13Z","updated_at":"2015-03-12T22:57:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6964370a91b6dabec2c104b9c9bfc981dd63b4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/865/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/865/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865/comments","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/4ba33ee94a14cb40411c283f9ad4bff7bf8ec0e1","head":{"label":"quantheory:associated_const","ref":"associated_const","sha":"4ba33ee94a14cb40411c283f9ad4bff7bf8ec0e1","user":{"login":"quantheory","id":1740206,"avatar_url":"https://avatars.githubusercontent.com/u/1740206?v=3","gravatar_id":"","url":"https://api.github.com/users/quantheory","html_url":"https://github.com/quantheory","followers_url":"https://api.github.com/users/quantheory/followers","following_url":"https://api.github.com/users/quantheory/following{/other_user}","gists_url":"https://api.github.com/users/quantheory/gists{/gist_id}","starred_url":"https://api.github.com/users/quantheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantheory/subscriptions","organizations_url":"https://api.github.com/users/quantheory/orgs","repos_url":"https://api.github.com/users/quantheory/repos","events_url":"https://api.github.com/users/quantheory/events{/privacy}","received_events_url":"https://api.github.com/users/quantheory/received_events","type":"User","site_admin":false},"repo":{"id":27977786,"name":"rfcs","full_name":"quantheory/rfcs","owner":{"login":"quantheory","id":1740206,"avatar_url":"https://avatars.githubusercontent.com/u/1740206?v=3","gravatar_id":"","url":"https://api.github.com/users/quantheory","html_url":"https://github.com/quantheory","followers_url":"https://api.github.com/users/quantheory/followers","following_url":"https://api.github.com/users/quantheory/following{/other_user}","gists_url":"https://api.github.com/users/quantheory/gists{/gist_id}","starred_url":"https://api.github.com/users/quantheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantheory/subscriptions","organizations_url":"https://api.github.com/users/quantheory/orgs","repos_url":"https://api.github.com/users/quantheory/repos","events_url":"https://api.github.com/users/quantheory/events{/privacy}","received_events_url":"https://api.github.com/users/quantheory/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quantheory/rfcs","description":"RFCs for changes to Rust","fork":true,"url":"https://api.github.com/repos/quantheory/rfcs","forks_url":"https://api.github.com/repos/quantheory/rfcs/forks","keys_url":"https://api.github.com/repos/quantheory/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quantheory/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quantheory/rfcs/teams","hooks_url":"https://api.github.com/repos/quantheory/rfcs/hooks","issue_events_url":"https://api.github.com/repos/quantheory/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/quantheory/rfcs/events","assignees_url":"https://api.github.com/repos/quantheory/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/quantheory/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/quantheory/rfcs/tags","blobs_url":"https://api.github.com/repos/quantheory/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quantheory/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quantheory/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/quantheory/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quantheory/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/quantheory/rfcs/languages","stargazers_url":"https://api.github.com/repos/quantheory/rfcs/stargazers","contributors_url":"https://api.github.com/repos/quantheory/rfcs/contributors","subscribers_url":"https://api.github.com/repos/quantheory/rfcs/subscribers","subscription_url":"https://api.github.com/repos/quantheory/rfcs/subscription","commits_url":"https://api.github.com/repos/quantheory/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/quantheory/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/quantheory/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/quantheory/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/quantheory/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/quantheory/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quantheory/rfcs/merges","archive_url":"https://api.github.com/repos/quantheory/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quantheory/rfcs/downloads","issues_url":"https://api.github.com/repos/quantheory/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/quantheory/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/quantheory/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/quantheory/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quantheory/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/quantheory/rfcs/releases{/id}","created_at":"2014-12-13T23:59:01Z","updated_at":"2014-12-13T06:57:43Z","pushed_at":"2015-02-18T15:20:34Z","git_url":"git://github.com/quantheory/rfcs.git","ssh_url":"git@github.com:quantheory/rfcs.git","clone_url":"https://github.com/quantheory/rfcs.git","svn_url":"https://github.com/quantheory/rfcs","homepage":"","size":1613,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"dfd33cc6e75d36c8c30733d80ec6423ebca96bb1","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":17527989,"name":"rfcs","full_name":"rust-lang/rfcs","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rfcs","description":"RFCs for changes to Rust","fork":false,"url":"https://api.github.com/repos/rust-lang/rfcs","forks_url":"https://api.github.com/repos/rust-lang/rfcs/forks","keys_url":"https://api.github.com/repos/rust-lang/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rfcs/teams","hooks_url":"https://api.github.com/repos/rust-lang/rfcs/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rfcs/events","assignees_url":"https://api.github.com/repos/rust-lang/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rfcs/tags","blobs_url":"https://api.github.com/repos/rust-lang/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rfcs/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rfcs/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rfcs/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rfcs/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rfcs/subscription","commits_url":"https://api.github.com/repos/rust-lang/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rfcs/merges","archive_url":"https://api.github.com/repos/rust-lang/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rfcs/downloads","issues_url":"https://api.github.com/repos/rust-lang/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rfcs/releases{/id}","created_at":"2014-03-07T21:29:00Z","updated_at":"2015-03-11T20:39:41Z","pushed_at":"2015-03-06T16:19:34Z","git_url":"git://github.com/rust-lang/rfcs.git","ssh_url":"git@github.com:rust-lang/rfcs.git","clone_url":"https://github.com/rust-lang/rfcs.git","svn_url":"https://github.com/rust-lang/rfcs","homepage":"","size":10887,"stargazers_count":278,"watchers_count":278,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":468,"forks":173,"open_issues":468,"watchers":278,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/865"},"html":{"href":"https://github.com/rust-lang/rfcs/pull/865"},"issue":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/865"},"comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/865/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/865/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/865/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rfcs/statuses/4ba33ee94a14cb40411c283f9ad4bff7bf8ec0e1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":15,"review_comments":0,"commits":2,"additions":23,"deletions":13,"changed_files":1}}