{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1783","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1783/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1783/events","html_url":"https://github.com/rust-lang/rfcs/pull/1783","id":186978200,"number":1783,"title":"Create a separate libc_types crate for basic C types","user":{"login":"Amanieu","id":278509,"avatar_url":"https://avatars.githubusercontent.com/u/278509?v=3","gravatar_id":"","url":"https://api.github.com/users/Amanieu","html_url":"https://github.com/Amanieu","followers_url":"https://api.github.com/users/Amanieu/followers","following_url":"https://api.github.com/users/Amanieu/following{/other_user}","gists_url":"https://api.github.com/users/Amanieu/gists{/gist_id}","starred_url":"https://api.github.com/users/Amanieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amanieu/subscriptions","organizations_url":"https://api.github.com/users/Amanieu/orgs","repos_url":"https://api.github.com/users/Amanieu/repos","events_url":"https://api.github.com/users/Amanieu/events{/privacy}","received_events_url":"https://api.github.com/users/Amanieu/received_events","type":"User","site_admin":false},"labels":[{"id":211667901,"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":46,"created_at":"2016-11-03T04:46:22Z","updated_at":"2016-12-16T22:11:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1783","html_url":"https://github.com/rust-lang/rfcs/pull/1783","diff_url":"https://github.com/rust-lang/rfcs/pull/1783.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1783.patch"},"body":"[Rendered](https://github.com/Amanieu/rfcs/blob/libc_types/text/0000-libc-types.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/267708376","html_url":"https://github.com/rust-lang/rfcs/pull/1783#issuecomment-267708376","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1783","id":267708376,"user":{"login":"retep998","id":666308,"avatar_url":"https://avatars.githubusercontent.com/u/666308?v=3","gravatar_id":"","url":"https://api.github.com/users/retep998","html_url":"https://github.com/retep998","followers_url":"https://api.github.com/users/retep998/followers","following_url":"https://api.github.com/users/retep998/following{/other_user}","gists_url":"https://api.github.com/users/retep998/gists{/gist_id}","starred_url":"https://api.github.com/users/retep998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retep998/subscriptions","organizations_url":"https://api.github.com/users/retep998/orgs","repos_url":"https://api.github.com/users/retep998/repos","events_url":"https://api.github.com/users/retep998/events{/privacy}","received_events_url":"https://api.github.com/users/retep998/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T22:11:29Z","updated_at":"2016-12-16T22:11:29Z","body":">Where in the Rust reference does it say that a pointer is allowed to have a value that isn't the address of a valid value?\r\n\r\nYou can cast a `usize` to a `*const T` or `*mut T` in safe Rust. Therefore raw pointers are allowed to point to anything, including invalid garbage. The restriction on pointers pointing to valid things only applies to `&T` and `&mut T`, so having a `&c_void` is clearly a bad idea and I hope nobody does this. But `*const !` is totally legal and fine."}}
{"actor":{"display_login":"retep998"}}