{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2523","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2523/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2523/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2523/events","html_url":"https://github.com/rust-lang/rfcs/pull/2523","id":349785964,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3ODA1NTIz","number":2523,"title":"RFC: #[cfg(accessible(..) / version = \"..\" / nightly)]","user":{"login":"Centril","id":855702,"node_id":"MDQ6VXNlcjg1NTcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/855702?v=4","gravatar_id":"","url":"https://api.github.com/users/Centril","html_url":"https://github.com/Centril","followers_url":"https://api.github.com/users/Centril/followers","following_url":"https://api.github.com/users/Centril/following{/other_user}","gists_url":"https://api.github.com/users/Centril/gists{/gist_id}","starred_url":"https://api.github.com/users/Centril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Centril/subscriptions","organizations_url":"https://api.github.com/users/Centril/orgs","repos_url":"https://api.github.com/users/Centril/repos","events_url":"https://api.github.com/users/Centril/events{/privacy}","received_events_url":"https://api.github.com/users/Centril/received_events","type":"User","site_admin":false},"labels":[{"id":211667886,"node_id":"MDU6TGFiZWwyMTE2Njc4ODY=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"Centril","id":855702,"node_id":"MDQ6VXNlcjg1NTcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/855702?v=4","gravatar_id":"","url":"https://api.github.com/users/Centril","html_url":"https://github.com/Centril","followers_url":"https://api.github.com/users/Centril/followers","following_url":"https://api.github.com/users/Centril/following{/other_user}","gists_url":"https://api.github.com/users/Centril/gists{/gist_id}","starred_url":"https://api.github.com/users/Centril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Centril/subscriptions","organizations_url":"https://api.github.com/users/Centril/orgs","repos_url":"https://api.github.com/users/Centril/repos","events_url":"https://api.github.com/users/Centril/events{/privacy}","received_events_url":"https://api.github.com/users/Centril/received_events","type":"User","site_admin":false},"assignees":[{"login":"Centril","id":855702,"node_id":"MDQ6VXNlcjg1NTcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/855702?v=4","gravatar_id":"","url":"https://api.github.com/users/Centril","html_url":"https://github.com/Centril","followers_url":"https://api.github.com/users/Centril/followers","following_url":"https://api.github.com/users/Centril/following{/other_user}","gists_url":"https://api.github.com/users/Centril/gists{/gist_id}","starred_url":"https://api.github.com/users/Centril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Centril/subscriptions","organizations_url":"https://api.github.com/users/Centril/orgs","repos_url":"https://api.github.com/users/Centril/repos","events_url":"https://api.github.com/users/Centril/events{/privacy}","received_events_url":"https://api.github.com/users/Centril/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-08-12T05:24:48Z","updated_at":"2018-08-12T22:02:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/2523","html_url":"https://github.com/rust-lang/rfcs/pull/2523","diff_url":"https://github.com/rust-lang/rfcs/pull/2523.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/2523.patch"},"body":"### [🖼️ Rendered](https://github.com/Centril/rfcs/blob/rfc/cfg-path-version/text/0000-cfg-path-version.md)\r\n\r\n### 📝 Summary\r\n\r\nPermit users to `#[cfg(..)]` on whether:\r\n\r\n+ they are on a `nightly` compiler (`#[cfg(nightly)]`).\r\n+ they have a certain minimum Rust version (`#[cfg(version = \"1.27\")]`).\r\n+ a certain external path is accessible (`#[cfg(accessible(::std::mem::ManuallyDrop))]`).\r\n\r\n### 💖 Thanks\r\n\r\nTo @eddyb, @rpjohnst, @kennytm, @aturon, and @rkruppe for discussing the feature with me.\r\nTo @Mark-Simulacrum, @MajorBreakfast, @alexreg, @alercah, and @joshtriplett for reviewing the draft version of this RFC."},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/412374902","html_url":"https://github.com/rust-lang/rfcs/pull/2523#issuecomment-412374902","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2523","id":412374902,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjM3NDkwMg==","user":{"login":"Ixrec","id":5285357,"node_id":"MDQ6VXNlcjUyODUzNTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5285357?v=4","gravatar_id":"","url":"https://api.github.com/users/Ixrec","html_url":"https://github.com/Ixrec","followers_url":"https://api.github.com/users/Ixrec/followers","following_url":"https://api.github.com/users/Ixrec/following{/other_user}","gists_url":"https://api.github.com/users/Ixrec/gists{/gist_id}","starred_url":"https://api.github.com/users/Ixrec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ixrec/subscriptions","organizations_url":"https://api.github.com/users/Ixrec/orgs","repos_url":"https://api.github.com/users/Ixrec/repos","events_url":"https://api.github.com/users/Ixrec/events{/privacy}","received_events_url":"https://api.github.com/users/Ixrec/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T22:02:10Z","updated_at":"2018-08-12T22:02:10Z","author_association":"CONTRIBUTOR","body":"@mark-i-m That sounds pretty much the same as what I thought the RFC was proposing. Did you interpret the RFC differently?"}}
{"actor":{"display_login":"Ixrec"}}