{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/55112","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/55112/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/55112/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/55112/events","html_url":"https://github.com/rust-lang/rust/issues/55112","id":370454270,"node_id":"MDU6SXNzdWUzNzA0NTQyNzA=","number":55112,"title":"emit unused_attributes lint for silly attributes","user":{"login":"zackmdavis","id":1076988,"node_id":"MDQ6VXNlcjEwNzY5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1076988?v=4","gravatar_id":"","url":"https://api.github.com/users/zackmdavis","html_url":"https://github.com/zackmdavis","followers_url":"https://api.github.com/users/zackmdavis/followers","following_url":"https://api.github.com/users/zackmdavis/following{/other_user}","gists_url":"https://api.github.com/users/zackmdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/zackmdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackmdavis/subscriptions","organizations_url":"https://api.github.com/users/zackmdavis/orgs","repos_url":"https://api.github.com/users/zackmdavis/repos","events_url":"https://api.github.com/users/zackmdavis/events{/privacy}","received_events_url":"https://api.github.com/users/zackmdavis/received_events","type":"User","site_admin":false},"labels":[{"id":234948,"node_id":"MDU6TGFiZWwyMzQ5NDg=","url":"https://api.github.com/repos/rust-lang/rust/labels/A-attributes","name":"A-attributes","color":"d7e102","default":false},{"id":235137,"node_id":"MDU6TGFiZWwyMzUxMzc=","url":"https://api.github.com/repos/rust-lang/rust/labels/A-lint","name":"A-lint","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T06:13:43Z","updated_at":"2018-10-16T13:04:16Z","closed_at":null,"author_association":"MEMBER","body":"We already have an `UnusedAttributes` late lint pass for attributes that don't get [marked as having been used somewhere](https://github.com/rust-lang/rust/blob/df0d6ad9c1510630b234f6bb96a69a081de0b307/src/libsyntax/attr/mod.rs#L42-L47), but recent discussion has touched on the idea of also directly (during normal complication, not as a lint pass) issuing the lint for attributes that don't make much sense (but which we don't want to go to the length of declaring errors, _e.g._, for backwards-compatibility reasons). These include:\r\n - [ ] [`#[derive()]`](https://github.com/rust-lang/rust/issues/54651#issuecomment-425565263)\r\n - [ ] [`#[must_use]` on functions with unit or uninhabited return type](https://github.com/rust-lang/rust/issues/54828#issuecomment-427246850)\r\n - [ ] [`#[allow()]`, `#[warn()]`, _&c._](https://github.com/rust-lang/rust/pull/54683#discussion_r225381179)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/430229078","html_url":"https://github.com/rust-lang/rust/issues/55112#issuecomment-430229078","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/55112","id":430229078,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDIyOTA3OA==","user":{"login":"varkor","id":3943692,"node_id":"MDQ6VXNlcjM5NDM2OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/3943692?v=4","gravatar_id":"","url":"https://api.github.com/users/varkor","html_url":"https://github.com/varkor","followers_url":"https://api.github.com/users/varkor/followers","following_url":"https://api.github.com/users/varkor/following{/other_user}","gists_url":"https://api.github.com/users/varkor/gists{/gist_id}","starred_url":"https://api.github.com/users/varkor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varkor/subscriptions","organizations_url":"https://api.github.com/users/varkor/orgs","repos_url":"https://api.github.com/users/varkor/repos","events_url":"https://api.github.com/users/varkor/events{/privacy}","received_events_url":"https://api.github.com/users/varkor/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T13:04:16Z","updated_at":"2018-10-16T13:04:16Z","author_association":"CONTRIBUTOR","body":"I think \"#[must_use] on functions with unit or uninhabited return type\" should be a Clippy lint rather than a compiler lint."}}
{"actor":{"display_login":"varkor"}}