{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21689","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21689/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21689/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21689/events","html_url":"https://github.com/rust-lang/rust/pull/21689","id":55611288,"number":21689,"title":"Add support for default trait implementations","user":{"login":"FlaPer87","id":13816,"avatar_url":"https://avatars.githubusercontent.com/u/13816?v=3","gravatar_id":"","url":"https://api.github.com/users/FlaPer87","html_url":"https://github.com/FlaPer87","followers_url":"https://api.github.com/users/FlaPer87/followers","following_url":"https://api.github.com/users/FlaPer87/following{/other_user}","gists_url":"https://api.github.com/users/FlaPer87/gists{/gist_id}","starred_url":"https://api.github.com/users/FlaPer87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlaPer87/subscriptions","organizations_url":"https://api.github.com/users/FlaPer87/orgs","repos_url":"https://api.github.com/users/FlaPer87/repos","events_url":"https://api.github.com/users/FlaPer87/events{/privacy}","received_events_url":"https://api.github.com/users/FlaPer87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-01-27T12:23:17Z","updated_at":"2015-02-23T02:18:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21689","html_url":"https://github.com/rust-lang/rust/pull/21689","diff_url":"https://github.com/rust-lang/rust/pull/21689.diff","patch_url":"https://github.com/rust-lang/rust/pull/21689.patch"},"body":"This is one more step towards completing #13231\r\n\r\nThis series of commits add support for default trait implementations. The changes in this PR don't break existing code and they are expected to preserve the existing behavior in the compiler as far as built-in bounds checks go.\r\n\r\nThe PR adds negative implementations of `Send`/`Sync` for some types and it removes the special cases for `Send`/`Sync` during the trait obligations checks. That is, it now fully relies on the traits check rather than lang items.\r\n\r\nOnce this patch lands and a new snapshot is created, it'll be possible to add default impls for `Send` and `Sync` and remove entirely the use of `BuiltinBound::{BoundSend,BoundSync}` for positive implementations as well.\r\n\r\nThis PR also removes the restriction on negative implementations. That is, it is now possible to add negative implementations for traits other than `Send`/`Sync`"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/75480924","html_url":"https://github.com/rust-lang/rust/pull/21689#issuecomment-75480924","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21689","id":75480924,"user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T02:18:51Z","updated_at":"2015-02-23T02:18:51Z","body":"@bors : retry"}}