{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/41697","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/41697/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/41697/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/41697/events","html_url":"https://github.com/rust-lang/rust/issues/41697","id":225629070,"number":41697,"title":"Regression in -Z dump-mir=all","user":{"login":"oli-obk","id":332036,"avatar_url":"https://avatars1.githubusercontent.com/u/332036?v=3","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-05-02T08:44:07Z","updated_at":"2017-05-11T11:22:05Z","closed_at":"2017-05-09T11:55:44Z","body":"running `rustc -Z dump-mir=all src/test/run-pass/issue-33387.rs`\r\n\r\nyields\r\n\r\n```\r\nerror[E0391]: unsupported cyclic reference between types/traits detected\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:1\r\n   |\r\n19 | / impl Foo for [u8; 2] {\r\n20 | |     fn get(&self) -> [u8; 2] {\r\n21 | |         *self\r\n22 | |     }\r\n23 | | }\r\n   | |_^ cyclic reference\r\n   |\r\nnote: the cycle begins when processing `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>`...\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:1\r\n   |\r\n19 | / impl Foo for [u8; 2] {\r\n20 | |     fn get(&self) -> [u8; 2] {\r\n21 | |         *self\r\n22 | |     }\r\n23 | | }\r\n   | |_^\r\nnote: ...which then requires const-evaluating `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>::{{initializer}}`...\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:19\r\n   |\r\n19 | impl Foo for [u8; 2] {\r\n   |                   ^\r\nnote: ...which then requires processing `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>::{{initializer}}`...\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:19\r\n   |\r\n19 | impl Foo for [u8; 2] {\r\n   |                   ^\r\nnote: ...which then requires processing `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>::{{initializer}}`...\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:19\r\n   |\r\n19 | impl Foo for [u8; 2] {\r\n   |                   ^\r\nnote: ...which then requires processing `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>`...\r\n  --> ../rust/src/test/run-pass/issue-33387.rs:19:1\r\n   |\r\n19 | / impl Foo for [u8; 2] {\r\n20 | |     fn get(&self) -> [u8; 2] {\r\n21 | |         *self\r\n22 | |     }\r\n23 | | }\r\n   | |_^\r\n   = note: ...which then again requires processing `<impl at ../rust/src/test/run-pass/issue-33387.rs:19:1: 23:2>`, completing the cycle.\r\n```\r\n\r\nHappening on `rustc 1.19.0-nightly (777ee2079 2017-05-01)`. Did not happen on the latest nightly available through rustup on 27.04.2017."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/300760421","html_url":"https://github.com/rust-lang/rust/issues/41697#issuecomment-300760421","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/41697","id":300760421,"user":{"login":"dwrensha","id":495768,"avatar_url":"https://avatars3.githubusercontent.com/u/495768?v=3","gravatar_id":"","url":"https://api.github.com/users/dwrensha","html_url":"https://github.com/dwrensha","followers_url":"https://api.github.com/users/dwrensha/followers","following_url":"https://api.github.com/users/dwrensha/following{/other_user}","gists_url":"https://api.github.com/users/dwrensha/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrensha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrensha/subscriptions","organizations_url":"https://api.github.com/users/dwrensha/orgs","repos_url":"https://api.github.com/users/dwrensha/repos","events_url":"https://api.github.com/users/dwrensha/events{/privacy}","received_events_url":"https://api.github.com/users/dwrensha/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T11:22:05Z","updated_at":"2017-05-11T11:22:05Z","body":"I'm still seeing this issue, on the latest nightly and on master."}}
{"actor":{"display_login":"dwrensha"}}