{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/45185","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/45185/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/45185/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/45185/events","html_url":"https://github.com/rust-lang/rust/issues/45185","id":264374954,"number":45185,"title":"MIR-borrowck: dereferences are printed wrapped in parens ","user":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars0.githubusercontent.com/u/173127?v=4","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"labels":[{"id":235791,"url":"https://api.github.com/repos/rust-lang/rust/labels/A-diagnostics","name":"A-diagnostics","color":"d7e102","default":false},{"id":211668100,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-compiler","name":"T-compiler","color":"bfd4f2","default":false},{"id":693557751,"url":"https://api.github.com/repos/rust-lang/rust/labels/WG-compiler-nll","name":"WG-compiler-nll","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rust-lang/rust/milestones/42","html_url":"https://github.com/rust-lang/rust/milestone/42","labels_url":"https://api.github.com/repos/rust-lang/rust/milestones/42/labels","id":2915417,"number":42,"title":"NLL prototype","description":"NLL prototype for All-Hands","creator":{"login":"arielb1","id":1830974,"avatar_url":"https://avatars1.githubusercontent.com/u/1830974?v=4","gravatar_id":"","url":"https://api.github.com/users/arielb1","html_url":"https://github.com/arielb1","followers_url":"https://api.github.com/users/arielb1/followers","following_url":"https://api.github.com/users/arielb1/following{/other_user}","gists_url":"https://api.github.com/users/arielb1/gists{/gist_id}","starred_url":"https://api.github.com/users/arielb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielb1/subscriptions","organizations_url":"https://api.github.com/users/arielb1/orgs","repos_url":"https://api.github.com/users/arielb1/repos","events_url":"https://api.github.com/users/arielb1/events{/privacy}","received_events_url":"https://api.github.com/users/arielb1/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2017-11-15T20:57:55Z","updated_at":"2017-11-16T14:51:49Z","due_on":"2017-12-08T08:00:00Z","closed_at":null},"comments":0,"created_at":"2017-10-10T21:02:10Z","updated_at":"2017-11-16T14:53:08Z","closed_at":null,"author_association":"MEMBER","body":"MIR-borrowck: In error diagnostics, derefencing expressions are printed with parentheses around them.\r\n\r\n For example, for `borrowck-borrow-mut-object-twice.rs`, AST-borrowck reports:\r\n```\r\ncannot borrow `*x` as mutable more than once at a time (Ast)\r\n```\r\nwhile MIR-borrowck reports:\r\n```\r\ncannot borrow `(*x)` as mutable more than once at a time (Mir)\r\n```\r\n\r\n(This is hopefully relatively simple to resolve; is there any case where we *need* the parentheses, given that we already elide dereferences when printing field accessor expressions?)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/344946260","html_url":"https://github.com/rust-lang/rust/issues/45185#issuecomment-344946260","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/45185","id":344946260,"user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars0.githubusercontent.com/u/155238?v=4","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},"created_at":"2017-11-16T14:53:08Z","updated_at":"2017-11-16T14:53:08Z","author_association":"CONTRIBUTOR","body":"@zilbuz are you looking at this?"}}
{"actor":{"display_login":"nikomatsakis"}}