{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24111","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24111/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24111/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24111/events","html_url":"https://github.com/rust-lang/rust/issues/24111","id":66616615,"number":24111,"title":"const fn tracking issue (RFC 911)","user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars0.githubusercontent.com/u/155238?v=4","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"labels":[{"id":89436934,"url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-approved","name":"B-RFC-approved","color":"d304cb","default":false},{"id":433146169,"url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-implemented","name":"B-RFC-implemented","color":"d304cb","default":false},{"id":246778137,"url":"https://api.github.com/repos/rust-lang/rust/labels/B-unstable","name":"B-unstable","color":"d304cb","default":false},{"id":650846969,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-tracking-issue","name":"C-tracking-issue","color":"f5f1fd","default":false},{"id":211668019,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false},{"id":919710011,"url":"https://api.github.com/repos/rust-lang/rust/labels/disposition-merge","name":"disposition-merge","color":"008800","default":false},{"id":638321554,"url":"https://api.github.com/repos/rust-lang/rust/labels/proposed-final-comment-period","name":"proposed-final-comment-period","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":173,"created_at":"2015-04-06T14:25:48Z","updated_at":"2018-05-04T22:32:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Tracking issue for rust-lang/rfcs#911.\r\n\r\nThings to be done before stabilizing:\r\n- [ ] Reach final decision :P\r\n- [ ] Integration with patterns (e.g. https://gist.github.com/d0ff1de8b6fc15ef1bb6)\r\n- [x] `const unsafe fn` declaration order https://github.com/rust-lang/rust/issues/29107\r\n- [ ] write docs\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/386751576","html_url":"https://github.com/rust-lang/rust/issues/24111#issuecomment-386751576","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/24111","id":386751576,"user":{"login":"eddyb","id":77424,"avatar_url":"https://avatars2.githubusercontent.com/u/77424?v=4","gravatar_id":"","url":"https://api.github.com/users/eddyb","html_url":"https://github.com/eddyb","followers_url":"https://api.github.com/users/eddyb/followers","following_url":"https://api.github.com/users/eddyb/following{/other_user}","gists_url":"https://api.github.com/users/eddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyb/subscriptions","organizations_url":"https://api.github.com/users/eddyb/orgs","repos_url":"https://api.github.com/users/eddyb/repos","events_url":"https://api.github.com/users/eddyb/events{/privacy}","received_events_url":"https://api.github.com/users/eddyb/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T22:32:20Z","updated_at":"2018-05-04T22:32:20Z","author_association":"OWNER","body":"@sgrif Many of the errors emitted about constants are going to go away sooner or later - miri doesn't care the type a value is seen as, an abstract location that is in an `usize` value is still an abstract location (and casting it to a pointer gives you back the original pointer).\r\n\r\nI just checked at *at least for now*, both casting pointers to integers, and comparison operators between pointer, are banned in constant contexts. However, this is just *what we thought of*, I'm still scared."}}
{"actor":{"display_login":"eddyb"}}