{"action":"created","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1239","repository_url":"https://api.github.com/repos/Manishearth/rust-clippy","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1239/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1239/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1239/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/1239","id":178678389,"number":1239,"title":"False positive with misrefactored_assign_op","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"labels":[{"id":246553215,"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/E-easy","name":"E-easy","color":"009800","default":false},{"id":149309557,"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/L-bug","name":"L-bug","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-22T17:58:49Z","updated_at":"2017-02-12T19:27:23Z","closed_at":null,"body":"<!--\nHi there! Whether you've come to make a suggestion for a new lint, an improvement to an existing lint or to report a bug or a false positive in Clippy, you've come to the right place.\n\nIf you want to report that Clippy does not compile, please be sure to be using the *latest version* of *Rust nightly*! Compiler plugins are highly unstable and will only work with a nightly Rust for now. If you are but still have a problem, please let us now!\n\nThank you for using Clippy!\n\nWrite your comment below this line: -->\n\n```\n411 |         v *= v * v;\n    |         ^^^^^^^^^^\n    |\nhelp: replace it with\n    |         v *= v;\n```\n\nThere is obviously a difference between the original and the suggestion.\n"},"comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments/279241675","html_url":"https://github.com/Manishearth/rust-clippy/issues/1239#issuecomment-279241675","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1239","id":279241675,"user":{"login":"pengowen123","id":12902948,"avatar_url":"https://avatars.githubusercontent.com/u/12902948?v=3","gravatar_id":"","url":"https://api.github.com/users/pengowen123","html_url":"https://github.com/pengowen123","followers_url":"https://api.github.com/users/pengowen123/followers","following_url":"https://api.github.com/users/pengowen123/following{/other_user}","gists_url":"https://api.github.com/users/pengowen123/gists{/gist_id}","starred_url":"https://api.github.com/users/pengowen123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengowen123/subscriptions","organizations_url":"https://api.github.com/users/pengowen123/orgs","repos_url":"https://api.github.com/users/pengowen123/repos","events_url":"https://api.github.com/users/pengowen123/events{/privacy}","received_events_url":"https://api.github.com/users/pengowen123/received_events","type":"User","site_admin":false},"created_at":"2017-02-12T19:27:23Z","updated_at":"2017-02-12T19:27:23Z","body":"The lint assumes that `v *= v * v` is likely a mistake, and suggests `v *= v` instead. It is not meant to suggest an equivalent, but rather to catch mistakes. What should the lint do in this case?"}}
{"actor":{"display_login":"pengowen123"}}