{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/58783","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/58783/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/58783/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/58783/events","html_url":"https://github.com/rust-lang/rust/pull/58783","id":415206119,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2NzQ0NzAz","number":58783,"title":"Add debug assertions to write_bytes and copy*","user":{"login":"nitnelave","id":796633,"node_id":"MDQ6VXNlcjc5NjYzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/796633?v=4","gravatar_id":"","url":"https://api.github.com/users/nitnelave","html_url":"https://github.com/nitnelave","followers_url":"https://api.github.com/users/nitnelave/followers","following_url":"https://api.github.com/users/nitnelave/following{/other_user}","gists_url":"https://api.github.com/users/nitnelave/gists{/gist_id}","starred_url":"https://api.github.com/users/nitnelave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitnelave/subscriptions","organizations_url":"https://api.github.com/users/nitnelave/orgs","repos_url":"https://api.github.com/users/nitnelave/repos","events_url":"https://api.github.com/users/nitnelave/events{/privacy}","received_events_url":"https://api.github.com/users/nitnelave/received_events","type":"User","site_admin":false},"labels":[{"id":583426710,"node_id":"MDU6TGFiZWw1ODM0MjY3MTA=","url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review","name":"S-waiting-on-review","color":"d3dddd","default":false}],"state":"open","locked":false,"assignee":{"login":"RalfJung","id":330628,"node_id":"MDQ6VXNlcjMzMDYyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/330628?v=4","gravatar_id":"","url":"https://api.github.com/users/RalfJung","html_url":"https://github.com/RalfJung","followers_url":"https://api.github.com/users/RalfJung/followers","following_url":"https://api.github.com/users/RalfJung/following{/other_user}","gists_url":"https://api.github.com/users/RalfJung/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfJung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfJung/subscriptions","organizations_url":"https://api.github.com/users/RalfJung/orgs","repos_url":"https://api.github.com/users/RalfJung/repos","events_url":"https://api.github.com/users/RalfJung/events{/privacy}","received_events_url":"https://api.github.com/users/RalfJung/received_events","type":"User","site_admin":false},"assignees":[{"login":"RalfJung","id":330628,"node_id":"MDQ6VXNlcjMzMDYyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/330628?v=4","gravatar_id":"","url":"https://api.github.com/users/RalfJung","html_url":"https://github.com/RalfJung","followers_url":"https://api.github.com/users/RalfJung/followers","following_url":"https://api.github.com/users/RalfJung/following{/other_user}","gists_url":"https://api.github.com/users/RalfJung/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfJung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfJung/subscriptions","organizations_url":"https://api.github.com/users/RalfJung/orgs","repos_url":"https://api.github.com/users/RalfJung/repos","events_url":"https://api.github.com/users/RalfJung/events{/privacy}","received_events_url":"https://api.github.com/users/RalfJung/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2019-02-27T16:15:12Z","updated_at":"2019-02-28T14:35:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/58783","html_url":"https://github.com/rust-lang/rust/pull/58783","diff_url":"https://github.com/rust-lang/rust/pull/58783.diff","patch_url":"https://github.com/rust-lang/rust/pull/58783.patch"},"body":"This is a followup of https://github.com/rust-lang/rust/pull/57997 to address https://github.com/rust-lang/rust/issues/53871\r\n\r\nWe check that:\r\n\r\n- `write_bytes` has an aligned pointer\r\n- `copy` has both aligned pointers and the end of `src` isn't in `dst` (otherwise we overwrite something before reading it)\r\n- `copy_nonoverlapping` has both aligned pointers and `src` and `dst` don't overlap."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/468294749","html_url":"https://github.com/rust-lang/rust/pull/58783#issuecomment-468294749","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/58783","id":468294749,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2ODI5NDc0OQ==","user":{"login":"RalfJung","id":330628,"node_id":"MDQ6VXNlcjMzMDYyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/330628?v=4","gravatar_id":"","url":"https://api.github.com/users/RalfJung","html_url":"https://github.com/RalfJung","followers_url":"https://api.github.com/users/RalfJung/followers","following_url":"https://api.github.com/users/RalfJung/following{/other_user}","gists_url":"https://api.github.com/users/RalfJung/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfJung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfJung/subscriptions","organizations_url":"https://api.github.com/users/RalfJung/orgs","repos_url":"https://api.github.com/users/RalfJung/repos","events_url":"https://api.github.com/users/RalfJung/events{/privacy}","received_events_url":"https://api.github.com/users/RalfJung/received_events","type":"User","site_admin":false},"created_at":"2019-02-28T14:35:13Z","updated_at":"2019-02-28T14:35:13Z","author_association":"MEMBER","body":"> 10: core::slice::<impl [T]>::copy_from_slice\r\n\r\nThat function calls `copy_nonoverlapping`, so might be a real bug?"}}
{"actor":{"display_login":"RalfJung"}}