{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30206","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30206/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30206/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30206/events","html_url":"https://github.com/rust-lang/rust/pull/30206","id":120443641,"number":30206,"title":"Implement `#[deprecated]` attribute (RFC 1270)","user":{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars.githubusercontent.com/u/5751617?v=3","gravatar_id":"","url":"https://api.github.com/users/petrochenkov","html_url":"https://github.com/petrochenkov","followers_url":"https://api.github.com/users/petrochenkov/followers","following_url":"https://api.github.com/users/petrochenkov/following{/other_user}","gists_url":"https://api.github.com/users/petrochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrochenkov/subscriptions","organizations_url":"https://api.github.com/users/petrochenkov/orgs","repos_url":"https://api.github.com/users/petrochenkov/repos","events_url":"https://api.github.com/users/petrochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/petrochenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-12-04T17:02:27Z","updated_at":"2015-12-23T06:34:49Z","closed_at":"2015-12-16T10:09:43Z","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/30206","html_url":"https://github.com/rust-lang/rust/pull/30206","diff_url":"https://github.com/rust-lang/rust/pull/30206.diff","patch_url":"https://github.com/rust-lang/rust/pull/30206.patch"},"body":"Closes https://github.com/rust-lang/rust/issues/29935\r\n\r\nThe attributes `deprecated` and `rustc_deprecated` are completely independent in this implementation and it leads to some noticeable code duplication. Representing `deprecated` as\r\n```\r\nStability {\r\n    level: Stable { since: \"\" },\r\n    feature: \"\",\r\n    depr: Some(Deprecation),\r\n}\r\n```\r\nor, contrariwise, splitting rustc_deprecation from stability makes most of the duplication go away.\r\nI can do this refactoring, but before doing it I must be sure, that further divergence of `deprecated` and `rustc_deprecated` is certainly not a goal.\r\n\r\ncc @llogiq "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/166814198","html_url":"https://github.com/rust-lang/rust/pull/30206#issuecomment-166814198","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30206","id":166814198,"user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T06:34:49Z","updated_at":"2015-12-23T06:34:49Z","body":"I'm a bit busy ATM but will push a PR to change the RFC shortly to alleviate the situation."}}