{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1603","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1603/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1603/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1603/events","html_url":"https://github.com/rust-lang/rfcs/pull/1603","id":152188095,"number":1603,"title":"Introduce `dyn` keyword","user":{"login":"ticki","id":13349091,"avatar_url":"https://avatars.githubusercontent.com/u/13349091?v=3","gravatar_id":"","url":"https://api.github.com/users/ticki","html_url":"https://github.com/ticki","followers_url":"https://api.github.com/users/ticki/followers","following_url":"https://api.github.com/users/ticki/following{/other_user}","gists_url":"https://api.github.com/users/ticki/gists{/gist_id}","starred_url":"https://api.github.com/users/ticki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticki/subscriptions","organizations_url":"https://api.github.com/users/ticki/orgs","repos_url":"https://api.github.com/users/ticki/repos","events_url":"https://api.github.com/users/ticki/events{/privacy}","received_events_url":"https://api.github.com/users/ticki/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},"assignees":[{"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":201,"created_at":"2016-05-01T08:36:42Z","updated_at":"2016-07-12T01:58:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1603","html_url":"https://github.com/rust-lang/rfcs/pull/1603","diff_url":"https://github.com/rust-lang/rfcs/pull/1603.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1603.patch"},"body":"Introduce a keyword, `dyn`, for denoting dynamic dispatch, with the motivation\r\nof avoid \"accidental overhead\" and making the costs more explicit, along with\r\ndeprecation of the old syntax.\r\n\r\n[Rendered.](https://github.com/ticki/rfcs/blob/dyn/text/0000-dyn-keyword.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/231917335","html_url":"https://github.com/rust-lang/rfcs/pull/1603#issuecomment-231917335","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1603","id":231917335,"user":{"login":"logannc","id":2867206,"avatar_url":"https://avatars.githubusercontent.com/u/2867206?v=3","gravatar_id":"","url":"https://api.github.com/users/logannc","html_url":"https://github.com/logannc","followers_url":"https://api.github.com/users/logannc/followers","following_url":"https://api.github.com/users/logannc/following{/other_user}","gists_url":"https://api.github.com/users/logannc/gists{/gist_id}","starred_url":"https://api.github.com/users/logannc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logannc/subscriptions","organizations_url":"https://api.github.com/users/logannc/orgs","repos_url":"https://api.github.com/users/logannc/repos","events_url":"https://api.github.com/users/logannc/events{/privacy}","received_events_url":"https://api.github.com/users/logannc/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T01:58:44Z","updated_at":"2016-07-12T01:58:44Z","body":"> Not at all! You can still do &dyn (TraitA + TraitB), just like you do &(TraitA + TraitB).\r\n\r\nAw, @ticki, you got me excited! I didn't think you could do that and, well, I wasn't *wrong*. You can only have 1 non-built in trait, which is severely limiting (though, to be fair, probably the primary use).\r\n\r\n@ExpHP Thank you for pointing that out, I think I was confusing them which makes @ticki 's comment about no semantic change make more sense.\r\n\r\nIn light of all that, I would favor either staying with the current syntax or `@Trait`, which makes me sad because then the `impl RFC` can't use `@Trait`. But having reread the other RFC, I think it makes more sense that way. This RFC is about trait objects which are inherently behind pointers (which `@` seems to imply to me - it's something 'at' this other place) while the other is, well, more about what traits a type implements and not where it is."}}
{"actor":{"display_login":"logannc"}}