{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/29314","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/29314/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/29314/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/29314/events","html_url":"https://github.com/rust-lang/rust/issues/29314","id":113272565,"number":29314,"title":"Despite using `if let`, `match arms have incompatible types`","user":{"login":"GBGamer","id":3479021,"avatar_url":"https://avatars.githubusercontent.com/u/3479021?v=3","gravatar_id":"","url":"https://api.github.com/users/GBGamer","html_url":"https://github.com/GBGamer","followers_url":"https://api.github.com/users/GBGamer/followers","following_url":"https://api.github.com/users/GBGamer/following{/other_user}","gists_url":"https://api.github.com/users/GBGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/GBGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GBGamer/subscriptions","organizations_url":"https://api.github.com/users/GBGamer/orgs","repos_url":"https://api.github.com/users/GBGamer/repos","events_url":"https://api.github.com/users/GBGamer/events{/privacy}","received_events_url":"https://api.github.com/users/GBGamer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-26T02:19:37Z","updated_at":"2015-10-27T01:08:34Z","closed_at":"2015-10-26T10:57:06Z","body":"```rust\r\nfn main() {\r\n    if let Some(b) = None {\r\n       ()\r\n    } else {\r\n         1\r\n    }\r\n}\r\n```\r\n\r\nerrors with\r\n\r\n```\r\nerror: match arms have incompatible types:\r\n````"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/151330757","html_url":"https://github.com/rust-lang/rust/issues/29314#issuecomment-151330757","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/29314","id":151330757,"user":{"login":"GBGamer","id":3479021,"avatar_url":"https://avatars.githubusercontent.com/u/3479021?v=3","gravatar_id":"","url":"https://api.github.com/users/GBGamer","html_url":"https://github.com/GBGamer","followers_url":"https://api.github.com/users/GBGamer/followers","following_url":"https://api.github.com/users/GBGamer/following{/other_user}","gists_url":"https://api.github.com/users/GBGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/GBGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GBGamer/subscriptions","organizations_url":"https://api.github.com/users/GBGamer/orgs","repos_url":"https://api.github.com/users/GBGamer/repos","events_url":"https://api.github.com/users/GBGamer/events{/privacy}","received_events_url":"https://api.github.com/users/GBGamer/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T01:08:34Z","updated_at":"2015-10-27T01:08:34Z","body":"@apasel422 yes I know it desugars to a match, that does not mean that it is not a bug."}}