{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30945","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30945/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30945/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30945/events","html_url":"https://github.com/rust-lang/rust/pull/30945","id":126975111,"number":30945,"title":"[MIR] Reintroduce the unit temporary","user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2016-01-15T22:51:48Z","updated_at":"2016-01-20T14:24:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/30945","html_url":"https://github.com/rust-lang/rust/pull/30945","diff_url":"https://github.com/rust-lang/rust/pull/30945.diff","patch_url":"https://github.com/rust-lang/rust/pull/30945.patch"},"body":"As an attempt to make loop body destination be optional, author implemented a pretty self contained\r\nchange and deemed it to be (much) uglier than the alternative of just keeping the unit temporary.\r\nHaving the temporary created lazily also has a nice property of not figuring in the MIR of\r\nfunctions which do not use loops of any sort.\r\n\r\nr? @nikomatsakis "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/173219113","html_url":"https://github.com/rust-lang/rust/pull/30945#issuecomment-173219113","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30945","id":173219113,"user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T14:24:43Z","updated_at":"2016-01-20T14:24:43Z","body":"@bors retry"}}