{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/31536","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/31536/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/31536/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/31536/events","html_url":"https://github.com/rust-lang/rust/issues/31536","id":132697908,"node_id":"MDU6SXNzdWUxMzI2OTc5MDg=","number":31536,"title":"std `c_void` and libc `c_void` are different types","user":{"login":"bluss","id":3209739,"node_id":"MDQ6VXNlcjMyMDk3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3209739?v=4","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"labels":[{"id":650731663,"node_id":"MDU6TGFiZWw2NTA3MzE2NjM=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-bug","name":"C-bug","color":"f5f1fd","default":false},{"id":211668062,"node_id":"MDU6TGFiZWwyMTE2NjgwNjI=","url":"https://api.github.com/repos/rust-lang/rust/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-02-10T13:18:35Z","updated_at":"2018-11-22T18:58:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Using libc v0.2.7 and rustc 1.8.0-nightly (34af2de40 2016-02-05)\n\n``` rust\nextern crate libc;\nfn test() {\n    let x = 1 as *mut libc::c_void;\n    let y = 1 as *mut std::os::raw::c_void;\n    let z = if true { x } else { y };\n}\n```\n\n``` rust\nsrc/lib.rs:26:13: 26:37 error: if and else have incompatible types:\n expected `*mut libc::c_void`,\n    found `*mut std::os::raw::c_void`\n(expected enum `libc::c_void`,\n    found enum `std::os::raw::c_void`) [E0308]\nsrc/lib.rs:26     let z = if true { x } else { y };\n```\n\nThese must be compatible, otherwise we cause incompatibilities in the ecosystem.\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/441104347","html_url":"https://github.com/rust-lang/rust/issues/31536#issuecomment-441104347","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/31536","id":441104347,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTEwNDM0Nw==","user":{"login":"gnzlbg","id":904614,"node_id":"MDQ6VXNlcjkwNDYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/904614?v=4","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T18:58:03Z","updated_at":"2018-11-22T18:58:03Z","author_association":"CONTRIBUTOR","body":"The RFC was merged, implemented, so this should be closed, probably."}}
{"actor":{"display_login":"gnzlbg"}}