{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/41940033","id":41940033,"diff_hunk":"@@ -147,39 +137,40 @@ pub fn compile_input(sess: Session,\n                                     control.make_glob_map,\n                                     |tcx, analysis| {\n \n-            {\n-                let state = CompileState::state_after_analysis(input,\n-                                                               &tcx.sess,\n-                                                               outdir,\n-                                                               &expanded_crate,\n-                                                               tcx.map.krate(),\n-                                                               &analysis,\n-                                                               tcx,\n-                                                               &lcx);\n-                (control.after_analysis.callback)(state);\n-\n-                tcx.sess.abort_if_errors();\n-                if control.after_analysis.stop == Compilation::Stop {\n-                    return Err(());\n-                }\n-            }\n-\n-            if log_enabled!(::log::INFO) {\n-                println!(\"Pre-trans\");\n-                tcx.print_debug_stats();\n-            }\n-            let trans = phase_4_translate_to_llvm(tcx, analysis);\n-\n-            if log_enabled!(::log::INFO) {\n-                println!(\"Post-trans\");\n-                tcx.print_debug_stats();\n-            }\n+                                        {\n+                                            let state =\n+                                                CompileState::state_after_analysis(input,\n+                                                                                   &tcx.sess,\n+                                                                                   outdir,\n+                                                                                   &expanded_crate,\n+                                                                                   tcx.map.krate(),\n+                                                                                   &analysis,\n+                                                                                   tcx,\n+                                                                                   &lcx);\n+                                            (control.after_analysis.callback)(state);\n+\n+                                            tcx.sess.abort_if_errors();\n+                                            if control.after_analysis.stop == Compilation::Stop {\n+                                                return Err(());\n+                                            }\n+                                        }\n+\n+                                        if log_enabled!(::log::INFO) {\n+                                            println!(\"Pre-trans\");\n+                                            tcx.print_debug_stats();\n+                                        }\n+                                        let trans = phase_4_translate_to_llvm(tcx, analysis);\n+\n+                                        if log_enabled!(::log::INFO) {\n+                                            println!(\"Post-trans\");\n+                                            tcx.print_debug_stats();\n+                                        }","path":"src/librustc_driver/driver.rs","position":110,"original_position":110,"commit_id":"4f16396560a855eaec1a478c08c9bc8b2249a905","original_commit_id":"4f16396560a855eaec1a478c08c9bc8b2249a905","user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"body":"We really need to fix this for large blocks...","created_at":"2015-10-13T23:30:31Z","updated_at":"2015-10-13T23:30:31Z","html_url":"https://github.com/rust-lang/rust/pull/29033#discussion_r41940033","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/29033","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/41940033"},"html":{"href":"https://github.com/rust-lang/rust/pull/29033#discussion_r41940033"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29033"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/29033","id":47597076,"html_url":"https://github.com/rust-lang/rust/pull/29033","diff_url":"https://github.com/rust-lang/rust/pull/29033.diff","patch_url":"https://github.com/rust-lang/rust/pull/29033.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/29033","number":29033,"state":"open","locked":false,"title":"Rustfmt-ing librustc_driver.","user":{"login":"goyox86","id":9576,"avatar_url":"https://avatars.githubusercontent.com/u/9576?v=3","gravatar_id":"","url":"https://api.github.com/users/goyox86","html_url":"https://github.com/goyox86","followers_url":"https://api.github.com/users/goyox86/followers","following_url":"https://api.github.com/users/goyox86/following{/other_user}","gists_url":"https://api.github.com/users/goyox86/gists{/gist_id}","starred_url":"https://api.github.com/users/goyox86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goyox86/subscriptions","organizations_url":"https://api.github.com/users/goyox86/orgs","repos_url":"https://api.github.com/users/goyox86/repos","events_url":"https://api.github.com/users/goyox86/events{/privacy}","received_events_url":"https://api.github.com/users/goyox86/received_events","type":"User","site_admin":false},"body":"Hi Rustaceans!\r\n\r\nThis is the result of running latest rustfmt on librustc_driver!\r\n\r\nThis is a longer one!\r\n\r\n//cc @nrc ","created_at":"2015-10-13T22:27:37Z","updated_at":"2015-10-13T23:30:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef226f179ee5ab6bfc7cef056f994aada3a5ae23","assignee":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/29033/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/29033/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/29033/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/4f16396560a855eaec1a478c08c9bc8b2249a905","head":{"label":"goyox86:goyox86/rustfmting-librustc_driver","ref":"goyox86/rustfmting-librustc_driver","sha":"4f16396560a855eaec1a478c08c9bc8b2249a905","user":{"login":"goyox86","id":9576,"avatar_url":"https://avatars.githubusercontent.com/u/9576?v=3","gravatar_id":"","url":"https://api.github.com/users/goyox86","html_url":"https://github.com/goyox86","followers_url":"https://api.github.com/users/goyox86/followers","following_url":"https://api.github.com/users/goyox86/following{/other_user}","gists_url":"https://api.github.com/users/goyox86/gists{/gist_id}","starred_url":"https://api.github.com/users/goyox86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goyox86/subscriptions","organizations_url":"https://api.github.com/users/goyox86/orgs","repos_url":"https://api.github.com/users/goyox86/repos","events_url":"https://api.github.com/users/goyox86/events{/privacy}","received_events_url":"https://api.github.com/users/goyox86/received_events","type":"User","site_admin":false},"repo":{"id":43846750,"name":"rust","full_name":"goyox86/rust","owner":{"login":"goyox86","id":9576,"avatar_url":"https://avatars.githubusercontent.com/u/9576?v=3","gravatar_id":"","url":"https://api.github.com/users/goyox86","html_url":"https://github.com/goyox86","followers_url":"https://api.github.com/users/goyox86/followers","following_url":"https://api.github.com/users/goyox86/following{/other_user}","gists_url":"https://api.github.com/users/goyox86/gists{/gist_id}","starred_url":"https://api.github.com/users/goyox86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goyox86/subscriptions","organizations_url":"https://api.github.com/users/goyox86/orgs","repos_url":"https://api.github.com/users/goyox86/repos","events_url":"https://api.github.com/users/goyox86/events{/privacy}","received_events_url":"https://api.github.com/users/goyox86/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goyox86/rust","description":"A safe, concurrent, practical language.","fork":true,"url":"https://api.github.com/repos/goyox86/rust","forks_url":"https://api.github.com/repos/goyox86/rust/forks","keys_url":"https://api.github.com/repos/goyox86/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goyox86/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goyox86/rust/teams","hooks_url":"https://api.github.com/repos/goyox86/rust/hooks","issue_events_url":"https://api.github.com/repos/goyox86/rust/issues/events{/number}","events_url":"https://api.github.com/repos/goyox86/rust/events","assignees_url":"https://api.github.com/repos/goyox86/rust/assignees{/user}","branches_url":"https://api.github.com/repos/goyox86/rust/branches{/branch}","tags_url":"https://api.github.com/repos/goyox86/rust/tags","blobs_url":"https://api.github.com/repos/goyox86/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goyox86/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goyox86/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/goyox86/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goyox86/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/goyox86/rust/languages","stargazers_url":"https://api.github.com/repos/goyox86/rust/stargazers","contributors_url":"https://api.github.com/repos/goyox86/rust/contributors","subscribers_url":"https://api.github.com/repos/goyox86/rust/subscribers","subscription_url":"https://api.github.com/repos/goyox86/rust/subscription","commits_url":"https://api.github.com/repos/goyox86/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/goyox86/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/goyox86/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/goyox86/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/goyox86/rust/contents/{+path}","compare_url":"https://api.github.com/repos/goyox86/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goyox86/rust/merges","archive_url":"https://api.github.com/repos/goyox86/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goyox86/rust/downloads","issues_url":"https://api.github.com/repos/goyox86/rust/issues{/number}","pulls_url":"https://api.github.com/repos/goyox86/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/goyox86/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/goyox86/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goyox86/rust/labels{/name}","releases_url":"https://api.github.com/repos/goyox86/rust/releases{/id}","created_at":"2015-10-07T21:49:58Z","updated_at":"2015-10-07T21:50:52Z","pushed_at":"2015-10-13T22:25:28Z","git_url":"git://github.com/goyox86/rust.git","ssh_url":"git@github.com:goyox86/rust.git","clone_url":"https://github.com/goyox86/rust.git","svn_url":"https://github.com/goyox86/rust","homepage":"http://www.rust-lang.org","size":323513,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"ec4362da562a4b591a7d120c6677e14ea713481a","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"A safe, concurrent, practical language.","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","created_at":"2010-06-16T20:39:03Z","updated_at":"2015-10-13T22:12:31Z","pushed_at":"2015-10-13T23:18:53Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":697521,"stargazers_count":13793,"watchers_count":13793,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2682,"mirror_url":null,"open_issues_count":2293,"forks":2682,"open_issues":2293,"watchers":13793,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29033"},"html":{"href":"https://github.com/rust-lang/rust/pull/29033"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/29033"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/29033/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29033/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29033/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/4f16396560a855eaec1a478c08c9bc8b2249a905"}}}}