{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/53674","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/53674/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/53674/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/53674/events","html_url":"https://github.com/rust-lang/rust/issues/53674","id":353830457,"node_id":"MDU6SXNzdWUzNTM4MzA0NTc=","number":53674,"title":"Existential type doc example ICE","user":{"login":"DutchGhost","id":25501014,"node_id":"MDQ6VXNlcjI1NTAxMDE0","avatar_url":"https://avatars2.githubusercontent.com/u/25501014?v=4","gravatar_id":"","url":"https://api.github.com/users/DutchGhost","html_url":"https://github.com/DutchGhost","followers_url":"https://api.github.com/users/DutchGhost/followers","following_url":"https://api.github.com/users/DutchGhost/following{/other_user}","gists_url":"https://api.github.com/users/DutchGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/DutchGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DutchGhost/subscriptions","organizations_url":"https://api.github.com/users/DutchGhost/orgs","repos_url":"https://api.github.com/users/DutchGhost/repos","events_url":"https://api.github.com/users/DutchGhost/events{/privacy}","received_events_url":"https://api.github.com/users/DutchGhost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T15:30:26Z","updated_at":"2018-08-24T21:14:14Z","closed_at":null,"author_association":"NONE","body":"Trying to run 'cargo test' on https://github.com/DutchGhost/rust_fun/blob/master/src/lib.rs, ICE's on the `compose` documentation example.\r\n\r\n<details>\r\n<summary>Backtrace:</summary>\r\n \r\n```\r\n---- src\\lib.rs - compose (line 12) stdout ----\r\nthread 'src\\lib.rs - compose (line 12)' panicked at 'librustc_resolve\\build_reduced_graph.rs:741: unexpected definition: Existential(DefId(9/0:3))', librustc\\util\\bug.rs:47:26\r\nstack backtrace:\r\n   0: <std::sys::windows::args::Args as core::ops::drop::Drop>::drop\r\n   1: <std::sys::windows::dynamic_lib::DynamicLibrary as core::ops::drop::Drop>::drop\r\n   2: std::panicking::take_hook\r\n   3: std::panicking::take_hook\r\n   4: <rustc::ty::sty::Binder<rustc::ty::ProjectionPredicate<'tcx>> as rustc::ty::ToPredicate<'tcx>>::to_predicate\r\n   5: std::panicking::rust_panic_with_hook\r\n   6: <rustc::hir::intravisit::IdRange as core::fmt::Debug>::fmt\r\n   7: rustc::util::bug::bug_fmt\r\n   8: rustc::ty::context::tls::track_diagnostic\r\n   9: rustc::ty::context::tls::track_diagnostic\r\n  10: rustc::ty::context::tls::track_diagnostic\r\n  11: rustc::util::bug::bug_fmt\r\n  12: rustc::util::bug::bug_fmt\r\n  13: rustc_resolve::build_reduced_graph::<impl rustc_resolve::Resolver<'a, 'cl>>::populate_module_if_necessary\r\n  14: rustc_resolve::build_reduced_graph::<impl rustc_resolve::ToNameBinding<'a> for (&'a rustc_resolve::ModuleData<'a>, rustc::ty::Visibility, syntax_pos::span_encoding::Span, syntax_pos::hygiene::Mark)>::to_name_binding\r\n  15: <rustc_resolve::build_reduced_graph::BuildReducedGraphVisitor<'a, 'b, 'cl> as syntax::visit::Visitor<'a>>::visit_item\r\n  16: <rustc_resolve::BindingError as core::cmp::PartialOrd>::partial_cmp\r\n  17: <rustc_resolve::build_reduced_graph::BuildReducedGraphVisitor<'a, 'b, 'cl> as syntax::visit::Visitor<'a>>::visit_item\r\n  18: <rustc_resolve::BindingError as core::cmp::PartialOrd>::partial_cmp\r\n  19: rustc_resolve::macros::<impl syntax::ext::base::Resolver for rustc_resolve::Resolver<'a, 'crateloader>>::visit_ast_fragment_with_placeholders\r\n  20: syntax::ext::expand::MacroExpander::expand_crate\r\n  21: syntax::ext::expand::MacroExpander::expand_crate\r\n  22: syntax::ext::expand::MacroExpander::expand_crate\r\n  23: <unknown>\r\n  24: <unknown>\r\n  25: rustc_driver::driver::count_nodes\r\n  26: rustc_driver::driver::compile_input\r\n  27: <unknown>\r\n  28: _rust_maybe_catch_panic\r\n  29: <unknown>\r\n  30: <unknown>\r\n  31: <unknown>\r\n  32: <unknown>\r\n  33: <unknown>\r\n  34: _rust_maybe_catch_panic\r\n  35: <unknown>\r\n  36: <unknown>\r\n  37: test::Metric::new\r\n  38: _rust_maybe_catch_panic\r\n  39: <test::TestOpts as core::fmt::Debug>::fmt\r\n  40: test::stats::winsorize\r\n  41: _rust_maybe_catch_panic\r\n  42: test::stats::winsorize\r\n  43: std::process::id\r\n  44: std::sys::windows::thread::Thread::new\r\n  45: BaseThreadInitThunk\r\n  46: RtlUserThreadStart\r\nquery stack during panic:\r\nend of query stack\r\nthread 'src\\lib.rs - compose (line 12)' panicked at 'couldn't compile the test', librustdoc\\test.rs:333:13\r\nstack backtrace:\r\n   0: <std::sys::windows::args::Args as core::ops::drop::Drop>::drop\r\n   1: <std::sys::windows::dynamic_lib::DynamicLibrary as core::ops::drop::Drop>::drop\r\n   2: std::panicking::take_hook\r\n   3: std::panicking::take_hook\r\n   4: <rustc::ty::sty::Binder<rustc::ty::ProjectionPredicate<'tcx>> as rustc::ty::ToPredicate<'tcx>>::to_predicate\r\n   5: std::panicking::rust_panic_with_hook\r\n   6: <unknown>\r\n   7: <unknown>\r\n   8: <unknown>\r\n   9: <unknown>\r\n  10: <unknown>\r\n  11: _rust_maybe_catch_panic\r\n  12: <unknown>\r\n  13: <unknown>\r\n  14: test::Metric::new\r\n  15: _rust_maybe_catch_panic\r\n  16: <test::TestOpts as core::fmt::Debug>::fmt\r\n  17: test::stats::winsorize\r\n  18: _rust_maybe_catch_panic\r\n  19: test::stats::winsorize\r\n  20: std::process::id\r\n  21: std::sys::windows::thread::Thread::new\r\n  22: BaseThreadInitThunk\r\n  23: RtlUserThreadStart\r\nquery stack during panic:\r\nend of query stack\r\n\r\n```\r\n</details>\r\n\r\nPlayground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/415884221","html_url":"https://github.com/rust-lang/rust/issues/53674#issuecomment-415884221","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/53674","id":415884221,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTg4NDIyMQ==","user":{"login":"Arnavion","id":1096010,"node_id":"MDQ6VXNlcjEwOTYwMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1096010?v=4","gravatar_id":"","url":"https://api.github.com/users/Arnavion","html_url":"https://github.com/Arnavion","followers_url":"https://api.github.com/users/Arnavion/followers","following_url":"https://api.github.com/users/Arnavion/following{/other_user}","gists_url":"https://api.github.com/users/Arnavion/gists{/gist_id}","starred_url":"https://api.github.com/users/Arnavion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arnavion/subscriptions","organizations_url":"https://api.github.com/users/Arnavion/orgs","repos_url":"https://api.github.com/users/Arnavion/repos","events_url":"https://api.github.com/users/Arnavion/events{/privacy}","received_events_url":"https://api.github.com/users/Arnavion/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T21:14:14Z","updated_at":"2018-08-24T21:14:14Z","author_association":"NONE","body":"Duplicate of #53443"}}
{"actor":{"display_login":"Arnavion"}}