{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1156","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1156/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1156/events","html_url":"https://github.com/rust-lang/rfcs/pull/1156","id":86746109,"number":1156,"title":"Adjust default object bounds [breaking change]","user":{"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},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/final-comment-period","name":"final-comment-period","color":"207de5"},{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-06-09T21:48:32Z","updated_at":"2015-06-11T14:48:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1156","html_url":"https://github.com/rust-lang/rfcs/pull/1156","diff_url":"https://github.com/rust-lang/rfcs/pull/1156.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1156.patch"},"body":"Adjust the object default bound algorithm for cases like `&'x Box<Trait>` and `&'x Arc<Trait>`. The existing algorithm would default to `&'x Box<Trait+'x>`. The proposed change is to default to `&'x Box<Trait+'static>`.\r\n\r\nNote: This is a **BREAKING CHANGE**. The change has [been implemented][branch] and its impact has been evaluated. It was [found to cause no root regressions][crater] on `crates.io`.\r\n\r\nThis change was initially discussed as a [pre-RFC](https://internals.rust-lang.org/t/pre-rfc-adjust-default-object-bounds/2199/). In particular there is much discussion there about the strategy towards breaking changes. Based on the reasoning in my [last comment], I'm advancing this to \"full RFC\" status. Note in particular that if we're going to make this change, we have to do it quickly. :)\r\n\r\n[crater]: https://gist.github.com/brson/085d84d43c6a9a8d4dc3\r\n[branch]: https://github.com/nikomatsakis/rust/tree/better-object-defaults\r\n[last comment]: https://internals.rust-lang.org/t/pre-rfc-adjust-default-object-bounds/2199/31\r\n\r\n[Rendered view.](https://github.com/nikomatsakis/rfcs/blob/adjust-default-object-bounds/text/0000-adjust-default-object-bounds.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/111159217","html_url":"https://github.com/rust-lang/rfcs/pull/1156#issuecomment-111159217","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1156","id":111159217,"user":{"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},"created_at":"2015-06-11T14:48:00Z","updated_at":"2015-06-11T14:48:00Z","body":"Regarding diagnostics, I'd like to investigate how to improve them to be more targeted (and perhaps suggest the `#[legacy]` attribute)."}}