{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/45942","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/45942/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/45942/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/45942/events","html_url":"https://github.com/rust-lang/rust/pull/45942","id":273224962,"number":45942,"title":"Add hints for the case of confusing enum with its variants","user":{"login":"Menschenkindlein","id":581380,"avatar_url":"https://avatars1.githubusercontent.com/u/581380?v=4","gravatar_id":"","url":"https://api.github.com/users/Menschenkindlein","html_url":"https://github.com/Menschenkindlein","followers_url":"https://api.github.com/users/Menschenkindlein/followers","following_url":"https://api.github.com/users/Menschenkindlein/following{/other_user}","gists_url":"https://api.github.com/users/Menschenkindlein/gists{/gist_id}","starred_url":"https://api.github.com/users/Menschenkindlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Menschenkindlein/subscriptions","organizations_url":"https://api.github.com/users/Menschenkindlein/orgs","repos_url":"https://api.github.com/users/Menschenkindlein/repos","events_url":"https://api.github.com/users/Menschenkindlein/events{/privacy}","received_events_url":"https://api.github.com/users/Menschenkindlein/received_events","type":"User","site_admin":false},"labels":[{"id":583437191,"url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-bors","name":"S-waiting-on-bors","color":"d3dddd","default":false}],"state":"closed","locked":false,"assignee":{"login":"estebank","id":1606434,"avatar_url":"https://avatars2.githubusercontent.com/u/1606434?v=4","gravatar_id":"","url":"https://api.github.com/users/estebank","html_url":"https://github.com/estebank","followers_url":"https://api.github.com/users/estebank/followers","following_url":"https://api.github.com/users/estebank/following{/other_user}","gists_url":"https://api.github.com/users/estebank/gists{/gist_id}","starred_url":"https://api.github.com/users/estebank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estebank/subscriptions","organizations_url":"https://api.github.com/users/estebank/orgs","repos_url":"https://api.github.com/users/estebank/repos","events_url":"https://api.github.com/users/estebank/events{/privacy}","received_events_url":"https://api.github.com/users/estebank/received_events","type":"User","site_admin":false},"assignees":[{"login":"estebank","id":1606434,"avatar_url":"https://avatars2.githubusercontent.com/u/1606434?v=4","gravatar_id":"","url":"https://api.github.com/users/estebank","html_url":"https://github.com/estebank","followers_url":"https://api.github.com/users/estebank/followers","following_url":"https://api.github.com/users/estebank/following{/other_user}","gists_url":"https://api.github.com/users/estebank/gists{/gist_id}","starred_url":"https://api.github.com/users/estebank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estebank/subscriptions","organizations_url":"https://api.github.com/users/estebank/orgs","repos_url":"https://api.github.com/users/estebank/repos","events_url":"https://api.github.com/users/estebank/events{/privacy}","received_events_url":"https://api.github.com/users/estebank/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2017-11-12T12:21:48Z","updated_at":"2017-11-24T06:28:32Z","closed_at":"2017-11-24T04:03:39Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/45942","html_url":"https://github.com/rust-lang/rust/pull/45942","diff_url":"https://github.com/rust-lang/rust/pull/45942.diff","patch_url":"https://github.com/rust-lang/rust/pull/45942.patch"},"body":"A solution for https://github.com/rust-lang/rust/issues/43871. When one uses an enum in a place that accepts variants (e.g., `Option(result)` instead of `Some(result)`), suggest one of this enum's variants.\r\n\r\ncc @estebank "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/346752153","html_url":"https://github.com/rust-lang/rust/pull/45942#issuecomment-346752153","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/45942","id":346752153,"user":{"login":"Menschenkindlein","id":581380,"avatar_url":"https://avatars1.githubusercontent.com/u/581380?v=4","gravatar_id":"","url":"https://api.github.com/users/Menschenkindlein","html_url":"https://github.com/Menschenkindlein","followers_url":"https://api.github.com/users/Menschenkindlein/followers","following_url":"https://api.github.com/users/Menschenkindlein/following{/other_user}","gists_url":"https://api.github.com/users/Menschenkindlein/gists{/gist_id}","starred_url":"https://api.github.com/users/Menschenkindlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Menschenkindlein/subscriptions","organizations_url":"https://api.github.com/users/Menschenkindlein/orgs","repos_url":"https://api.github.com/users/Menschenkindlein/repos","events_url":"https://api.github.com/users/Menschenkindlein/events{/privacy}","received_events_url":"https://api.github.com/users/Menschenkindlein/received_events","type":"User","site_admin":false},"created_at":"2017-11-24T06:28:32Z","updated_at":"2017-11-24T06:28:32Z","author_association":"CONTRIBUTOR","body":"@estebank Thank you for patiently guiding me to the completion of this pull request!"}}
{"actor":{"display_login":"Menschenkindlein"}}