{"action":"created","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1383","repository_url":"https://api.github.com/repos/Manishearth/rust-clippy","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1383/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1383/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1383/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/1383","id":195598257,"number":1383,"title":"Lint for enums with no variants","user":{"login":"clarcharr","id":15850505,"avatar_url":"https://avatars.githubusercontent.com/u/15850505?v=3","gravatar_id":"","url":"https://api.github.com/users/clarcharr","html_url":"https://github.com/clarcharr","followers_url":"https://api.github.com/users/clarcharr/followers","following_url":"https://api.github.com/users/clarcharr/following{/other_user}","gists_url":"https://api.github.com/users/clarcharr/gists{/gist_id}","starred_url":"https://api.github.com/users/clarcharr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarcharr/subscriptions","organizations_url":"https://api.github.com/users/clarcharr/orgs","repos_url":"https://api.github.com/users/clarcharr/repos","events_url":"https://api.github.com/users/clarcharr/events{/privacy}","received_events_url":"https://api.github.com/users/clarcharr/received_events","type":"User","site_admin":false},"labels":[{"id":246553215,"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/E-easy","name":"E-easy","color":"009800","default":false},{"id":246558520,"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/L-lint","name":"L-lint","color":"fef2c0","default":false},{"id":246553927,"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/T-AST","name":"T-AST","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T17:44:37Z","updated_at":"2016-12-14T18:08:51Z","closed_at":null,"body":"Because the `!` type is now implemented on nightly, it would be nice to have a lint that would warn on enums with no variants, suggesting to use `!` instead. We could wait until the feature is stable to enable it by default."},"comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments/267108826","html_url":"https://github.com/Manishearth/rust-clippy/issues/1383#issuecomment-267108826","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1383","id":267108826,"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":"2016-12-14T18:08:51Z","updated_at":"2016-12-14T18:08:51Z","body":"I disagree with this – this would have triggered on most of [typenum](https://github.com/paholg/typenum), (until we changed the types to become inhabited recently) for example. Not all uninhabited types are created equal."}}
{"actor":{"display_login":"llogiq"}}