{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/55886","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/55886/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/55886/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/55886/events","html_url":"https://github.com/rust-lang/rust/issues/55886","id":379620549,"node_id":"MDU6SXNzdWUzNzk2MjA1NDk=","number":55886,"title":"Miri check does not support `slice::align_to` method","user":{"login":"earthengine","id":2227031,"node_id":"MDQ6VXNlcjIyMjcwMzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2227031?v=4","gravatar_id":"","url":"https://api.github.com/users/earthengine","html_url":"https://github.com/earthengine","followers_url":"https://api.github.com/users/earthengine/followers","following_url":"https://api.github.com/users/earthengine/following{/other_user}","gists_url":"https://api.github.com/users/earthengine/gists{/gist_id}","starred_url":"https://api.github.com/users/earthengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earthengine/subscriptions","organizations_url":"https://api.github.com/users/earthengine/orgs","repos_url":"https://api.github.com/users/earthengine/repos","events_url":"https://api.github.com/users/earthengine/events{/privacy}","received_events_url":"https://api.github.com/users/earthengine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-12T04:51:32Z","updated_at":"2018-11-12T17:13:58Z","closed_at":"2018-11-12T17:13:58Z","author_association":"NONE","body":"The following\r\n\r\n```rust\r\nfn main() {\r\n    let data:[u8;200] = [0;200];\r\n    let (_,m,_) = unsafe { data[1..].align_to::<i32>() };\r\n    println!(\"m.len()={}\", m.len());\r\n}\r\n```\r\n[Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=d5228295a3c12be6aa1d36eed2cd41d8)\r\n\r\nprints `m.len()=49` in normal run, but `m.len()=0` in Miri check."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/437959802","html_url":"https://github.com/rust-lang/rust/issues/55886#issuecomment-437959802","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/55886","id":437959802,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzk1OTgwMg==","user":{"login":"oli-obk","id":332036,"node_id":"MDQ6VXNlcjMzMjAzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/332036?v=4","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T17:13:58Z","updated_at":"2018-11-12T17:13:58Z","author_association":"CONTRIBUTOR","body":"Closing since it is working as intended as per the RFC https://github.com/rust-lang/rfcs/pull/2043 \r\n\r\nIf anything is unclear about the motivation or documentation, don't hesitate to open an issue about that or ask here"}}
{"actor":{"display_login":"oli-obk"}}