{"action":"created","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/410","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/410/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/410/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/410","id":113100297,"number":410,"title":"A bad_api lint of some sort to catch issues like safe fn taking raw-ptr","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":[{"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/C-needs-discussion","name":"C-needs-discussion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T21:05:32Z","updated_at":"2015-10-23T21:09:02Z","closed_at":null,"body":"A safe function taking a raw pointer yells unsafety at me. Might be good to have issues like this linted against."},"comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments/150693238","html_url":"https://github.com/Manishearth/rust-clippy/issues/410#issuecomment-150693238","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/410","id":150693238,"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":"2015-10-23T21:09:02Z","updated_at":"2015-10-23T21:09:02Z","body":"One case where this isn’t applicable is extern functions. Rust functions have really no reason taking raw pointer over a reference."}}