{"action":"opened","number":590,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/590","id":27559311,"html_url":"https://github.com/rust-lang/rfcs/pull/590","diff_url":"https://github.com/rust-lang/rfcs/pull/590.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/590.patch","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/590","number":590,"state":"open","locked":false,"title":"Early trait bounds on generic types","user":{"login":"Kimundi","id":2903206,"avatar_url":"https://avatars.githubusercontent.com/u/2903206?v=3","gravatar_id":"","url":"https://api.github.com/users/Kimundi","html_url":"https://github.com/Kimundi","followers_url":"https://api.github.com/users/Kimundi/followers","following_url":"https://api.github.com/users/Kimundi/following{/other_user}","gists_url":"https://api.github.com/users/Kimundi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimundi/subscriptions","organizations_url":"https://api.github.com/users/Kimundi/orgs","repos_url":"https://api.github.com/users/Kimundi/repos","events_url":"https://api.github.com/users/Kimundi/events{/privacy}","received_events_url":"https://api.github.com/users/Kimundi/received_events","type":"User","site_admin":false},"body":"# Summary\r\n\r\nMake it an API convention that generic types that have an interface\r\nthat always requires the same trait bounds on the same type parameters\r\n_should_ have those bounds directly in the type definition. Allow exceptions\r\nfrom this rule for cases like planned changes or upholding backwards\r\ncompatibility.\r\n\r\n[Rendered]()","created_at":"2015-01-17T17:24:26Z","updated_at":"2015-01-17T17:24:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/590/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/590/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/590/comments","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/8494905225c1b6950e5eef047224edc6c6c11300","head":{"label":"Kimundi:trait_bound_wrapper_types","ref":"trait_bound_wrapper_types","sha":"8494905225c1b6950e5eef047224edc6c6c11300","user":{"login":"Kimundi","id":2903206,"avatar_url":"https://avatars.githubusercontent.com/u/2903206?v=3","gravatar_id":"","url":"https://api.github.com/users/Kimundi","html_url":"https://github.com/Kimundi","followers_url":"https://api.github.com/users/Kimundi/followers","following_url":"https://api.github.com/users/Kimundi/following{/other_user}","gists_url":"https://api.github.com/users/Kimundi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimundi/subscriptions","organizations_url":"https://api.github.com/users/Kimundi/orgs","repos_url":"https://api.github.com/users/Kimundi/repos","events_url":"https://api.github.com/users/Kimundi/events{/privacy}","received_events_url":"https://api.github.com/users/Kimundi/received_events","type":"User","site_admin":false},"repo":{"id":17668904,"name":"rfcs","full_name":"Kimundi/rfcs","owner":{"login":"Kimundi","id":2903206,"avatar_url":"https://avatars.githubusercontent.com/u/2903206?v=3","gravatar_id":"","url":"https://api.github.com/users/Kimundi","html_url":"https://github.com/Kimundi","followers_url":"https://api.github.com/users/Kimundi/followers","following_url":"https://api.github.com/users/Kimundi/following{/other_user}","gists_url":"https://api.github.com/users/Kimundi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimundi/subscriptions","organizations_url":"https://api.github.com/users/Kimundi/orgs","repos_url":"https://api.github.com/users/Kimundi/repos","events_url":"https://api.github.com/users/Kimundi/events{/privacy}","received_events_url":"https://api.github.com/users/Kimundi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kimundi/rfcs","description":"RFCs for changes to Rust","fork":true,"url":"https://api.github.com/repos/Kimundi/rfcs","forks_url":"https://api.github.com/repos/Kimundi/rfcs/forks","keys_url":"https://api.github.com/repos/Kimundi/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kimundi/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kimundi/rfcs/teams","hooks_url":"https://api.github.com/repos/Kimundi/rfcs/hooks","issue_events_url":"https://api.github.com/repos/Kimundi/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/Kimundi/rfcs/events","assignees_url":"https://api.github.com/repos/Kimundi/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/Kimundi/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/Kimundi/rfcs/tags","blobs_url":"https://api.github.com/repos/Kimundi/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kimundi/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kimundi/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kimundi/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kimundi/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/Kimundi/rfcs/languages","stargazers_url":"https://api.github.com/repos/Kimundi/rfcs/stargazers","contributors_url":"https://api.github.com/repos/Kimundi/rfcs/contributors","subscribers_url":"https://api.github.com/repos/Kimundi/rfcs/subscribers","subscription_url":"https://api.github.com/repos/Kimundi/rfcs/subscription","commits_url":"https://api.github.com/repos/Kimundi/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kimundi/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kimundi/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kimundi/rfcs/issues/comments/{number}","contents_url":"https://api.github.com/repos/Kimundi/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/Kimundi/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kimundi/rfcs/merges","archive_url":"https://api.github.com/repos/Kimundi/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kimundi/rfcs/downloads","issues_url":"https://api.github.com/repos/Kimundi/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/Kimundi/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/Kimundi/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/Kimundi/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kimundi/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/Kimundi/rfcs/releases{/id}","created_at":"2014-03-12T14:02:43Z","updated_at":"2014-12-14T16:55:32Z","pushed_at":"2015-01-17T17:17:44Z","git_url":"git://github.com/Kimundi/rfcs.git","ssh_url":"git@github.com:Kimundi/rfcs.git","clone_url":"https://github.com/Kimundi/rfcs.git","svn_url":"https://github.com/Kimundi/rfcs","homepage":"","size":1012,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"e0999be5aade97bb794d9f886bac31cfcb0f8a8d","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-01-17T13:52:57Z","pushed_at":"2015-01-13T00:31:18Z","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":6398,"stargazers_count":228,"watchers_count":228,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":144,"mirror_url":null,"open_issues_count":222,"forks":144,"open_issues":222,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/590"},"html":{"href":"https://github.com/rust-lang/rfcs/pull/590"},"issue":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/590"},"comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/590/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/590/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/590/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rfcs/statuses/8494905225c1b6950e5eef047224edc6c6c11300"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":121,"deletions":0,"changed_files":1}}