{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/865","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865/events","html_url":"https://github.com/rust-lang/rfcs/pull/865","id":57751158,"number":865,"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},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"milestone":null,"comments":27,"created_at":"2015-02-15T23:16:13Z","updated_at":"2015-05-28T00:49:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/865","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"},"body":"**Edit:** While the goal of this RFC is the same, namely to provide further interpretation of the design of associated constants, the current proposal differs radically from the original PR. This PR now clarifies that associated statics are *not* added, only constants, and mentions some limitations on associated constants that require more design work to deal with.\r\n\r\n[Rendered.](https://github.com/rust-lang/rfcs/pull/865/files?short_path=e0686e7#diff-e0686e7af71a6699c8dc01e510e51e1c)\r\n\r\n**Original text of this post follows**\r\n\r\nCurrently, 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\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."},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/106126686","html_url":"https://github.com/rust-lang/rfcs/pull/865#issuecomment-106126686","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/865","id":106126686,"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},"created_at":"2015-05-28T00:49:27Z","updated_at":"2015-05-28T00:49:27Z","body":"I have not thought about this PR in some time, since the majority of the text is superseded by #1062. I hope it's not too much of a bait-and-switch, but just erased most of the generic constant discussion in favor of that other RFC, which I think is more detailed and current. At the same time, I did add a mention of trait objects here, simply because it seems much more straightforward and consistent with the original RFC."}}