{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/23497657","id":23497657,"diff_hunk":"@@ -1909,6 +1911,10 @@ impl<'a> State<'a> {\n                 try!(self.pclose());\n             }\n             ast::ExprMac(ref m) => try!(self.print_mac(m, token::Paren)),\n+            ast::ExprCompletion(ref e) => {\n+                try!(self.print_expr(&**e));\n+                try!(word(&mut self.s, \".\\u{B6}\"));","path":"src/libsyntax/print/pprust.rs","position":null,"original_position":15,"commit_id":"7437208eca93267e3dfb841bd4cba0a2785cc909","original_commit_id":"7c3ba8ff8a23e0dc563c257b2173fb0c3c979555","user":{"login":"lambda","id":37398,"avatar_url":"https://avatars.githubusercontent.com/u/37398?v=3","gravatar_id":"","url":"https://api.github.com/users/lambda","html_url":"https://github.com/lambda","followers_url":"https://api.github.com/users/lambda/followers","following_url":"https://api.github.com/users/lambda/following{/other_user}","gists_url":"https://api.github.com/users/lambda/gists{/gist_id}","starred_url":"https://api.github.com/users/lambda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambda/subscriptions","organizations_url":"https://api.github.com/users/lambda/orgs","repos_url":"https://api.github.com/users/lambda/repos","events_url":"https://api.github.com/users/lambda/events{/privacy}","received_events_url":"https://api.github.com/users/lambda/received_events","type":"User","site_admin":false},"body":"Indeed, pretty much a perfect example of a bikeshed. Anyhow, font support is a good reason to choose pilcrow over caret. Carry on!","created_at":"2015-01-24T17:13:09Z","updated_at":"2015-01-24T17:13:09Z","html_url":"https://github.com/rust-lang/rust/pull/21323#discussion_r23497657","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/21323","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/23497657"},"html":{"href":"https://github.com/rust-lang/rust/pull/21323#discussion_r23497657"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21323"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21323","id":27562626,"html_url":"https://github.com/rust-lang/rust/pull/21323","diff_url":"https://github.com/rust-lang/rust/pull/21323.diff","patch_url":"https://github.com/rust-lang/rust/pull/21323.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21323","number":21323,"state":"open","locked":false,"title":"Implement code completion (work in progress)","user":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"body":"This is a work in progress. It is here mostly to request design reviews.\r\n\r\n```rust\r\n// test.rs\r\nstruct Point { x: i32, y: i32 }\r\nfn main() { let p = Point { x: 0, y: 0 }; p. }\r\n```\r\n\r\n```\r\n$ rustc -Z unstable-options --complete-at test.rs:87 test.rs\r\nx\r\ny\r\n```\r\n\r\ncc #9769.","created_at":"2015-01-17T21:35:37Z","updated_at":"2015-01-24T17:13:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c98270e63d02dca6d86112e2ab2eeb44b7e1679","assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/21323/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/21323/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/21323/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/7437208eca93267e3dfb841bd4cba0a2785cc909","head":{"label":"sanxiyn:complete-at","ref":"complete-at","sha":"7437208eca93267e3dfb841bd4cba0a2785cc909","user":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"repo":{"id":7423069,"name":"rust","full_name":"sanxiyn/rust","owner":{"login":"sanxiyn","id":45249,"avatar_url":"https://avatars.githubusercontent.com/u/45249?v=3","gravatar_id":"","url":"https://api.github.com/users/sanxiyn","html_url":"https://github.com/sanxiyn","followers_url":"https://api.github.com/users/sanxiyn/followers","following_url":"https://api.github.com/users/sanxiyn/following{/other_user}","gists_url":"https://api.github.com/users/sanxiyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sanxiyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanxiyn/subscriptions","organizations_url":"https://api.github.com/users/sanxiyn/orgs","repos_url":"https://api.github.com/users/sanxiyn/repos","events_url":"https://api.github.com/users/sanxiyn/events{/privacy}","received_events_url":"https://api.github.com/users/sanxiyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sanxiyn/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/sanxiyn/rust","forks_url":"https://api.github.com/repos/sanxiyn/rust/forks","keys_url":"https://api.github.com/repos/sanxiyn/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sanxiyn/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sanxiyn/rust/teams","hooks_url":"https://api.github.com/repos/sanxiyn/rust/hooks","issue_events_url":"https://api.github.com/repos/sanxiyn/rust/issues/events{/number}","events_url":"https://api.github.com/repos/sanxiyn/rust/events","assignees_url":"https://api.github.com/repos/sanxiyn/rust/assignees{/user}","branches_url":"https://api.github.com/repos/sanxiyn/rust/branches{/branch}","tags_url":"https://api.github.com/repos/sanxiyn/rust/tags","blobs_url":"https://api.github.com/repos/sanxiyn/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sanxiyn/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sanxiyn/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/sanxiyn/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sanxiyn/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/sanxiyn/rust/languages","stargazers_url":"https://api.github.com/repos/sanxiyn/rust/stargazers","contributors_url":"https://api.github.com/repos/sanxiyn/rust/contributors","subscribers_url":"https://api.github.com/repos/sanxiyn/rust/subscribers","subscription_url":"https://api.github.com/repos/sanxiyn/rust/subscription","commits_url":"https://api.github.com/repos/sanxiyn/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/sanxiyn/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/sanxiyn/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/sanxiyn/rust/issues/comments/{number}","contents_url":"https://api.github.com/repos/sanxiyn/rust/contents/{+path}","compare_url":"https://api.github.com/repos/sanxiyn/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sanxiyn/rust/merges","archive_url":"https://api.github.com/repos/sanxiyn/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sanxiyn/rust/downloads","issues_url":"https://api.github.com/repos/sanxiyn/rust/issues{/number}","pulls_url":"https://api.github.com/repos/sanxiyn/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/sanxiyn/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/sanxiyn/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sanxiyn/rust/labels{/name}","releases_url":"https://api.github.com/repos/sanxiyn/rust/releases{/id}","created_at":"2013-01-03T13:15:08Z","updated_at":"2015-01-22T10:48:28Z","pushed_at":"2015-01-24T01:13:27Z","git_url":"git://github.com/sanxiyn/rust.git","ssh_url":"git@github.com:sanxiyn/rust.git","clone_url":"https://github.com/sanxiyn/rust.git","svn_url":"https://github.com/sanxiyn/rust","homepage":"http://www.rust-lang.org","size":223340,"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":"4be79d6acde9eed3a9b5281a46f385bcb4ce736c","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-01-24T16:53:53Z","pushed_at":"2015-01-24T17:07:44Z","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":449073,"stargazers_count":9029,"watchers_count":9029,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1741,"mirror_url":null,"open_issues_count":2136,"forks":1741,"open_issues":2136,"watchers":9029,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21323"},"html":{"href":"https://github.com/rust-lang/rust/pull/21323"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/21323"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/21323/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21323/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/21323/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/7437208eca93267e3dfb841bd4cba0a2785cc909"}}}}