{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/26708","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/26708/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26708/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/26708/events","html_url":"https://github.com/rust-lang/rust/issues/26708","id":92297781,"number":26708,"title":"internal compiler error: cannot relate bound region: ReEarlyBound(7289, TypeSpace, 0, 'a) <= ReStatic","user":{"login":"rodolf0","id":313133,"avatar_url":"https://avatars.githubusercontent.com/u/313133?v=3","gravatar_id":"","url":"https://api.github.com/users/rodolf0","html_url":"https://github.com/rodolf0","followers_url":"https://api.github.com/users/rodolf0/followers","following_url":"https://api.github.com/users/rodolf0/following{/other_user}","gists_url":"https://api.github.com/users/rodolf0/gists{/gist_id}","starred_url":"https://api.github.com/users/rodolf0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodolf0/subscriptions","organizations_url":"https://api.github.com/users/rodolf0/orgs","repos_url":"https://api.github.com/users/rodolf0/repos","events_url":"https://api.github.com/users/rodolf0/events{/privacy}","received_events_url":"https://api.github.com/users/rodolf0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T07:18:56Z","updated_at":"2015-07-01T07:18:56Z","closed_at":null,"body":"Hit this bug converting my code from using moving to references, ie: started adding lifetime specifiers. I don't exactly know what is happening to give more context sorry.\r\n\r\n## Meta\r\n\r\n`rustc --version --verbose`:\r\nrustc 1.1.0\r\nbinary: rustc\r\ncommit-hash: unknown\r\ncommit-date: unknown\r\nhost: x86_64-apple-darwin\r\nrelease: 1.1.0\r\n\r\nBacktrace:\r\n08:12:05 ~/Source/tox/src/lisp 146 $ RUST_BACKTRACE=1 cargo build\r\n   Compiling tox v0.0.2 (file:///Users/rudolph/Source/tox)\r\n/Users/rudolph/Source/tox/src/lib.rs:1:1: 1:1 error: internal compiler error: cannot relate bound region: ReEarlyBound(7289, TypeSpace, 0, 'a) <= ReStatic\r\n/Users/rudolph/Source/tox/src/lib.rs:1 #![cfg_attr(feature=\"dynlink-eval\", feature(std_misc))]\r\n                                       ^\r\nnote: the compiler unexpectedly panicked. this is a bug.\r\nnote: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports\r\nnote: run with `RUST_BACKTRACE=1` for a backtrace\r\nthread 'rustc' panicked at 'Box<Any>', /private/tmp/rust20150626-13301-uiklsd/rustc-1.1.0/src/libsyntax/diagnostic.rs:170\r\n\r\nstack backtrace:\r\n   1:        0x10e2752af - sys::backtrace::write::h4d34c75aaa44ebb3c2r\r\n   2:        0x10e27dd00 - panicking::on_panic::hacede89293da7355Lgw\r\n   3:        0x10e238f75 - rt::unwind::begin_unwind_inner::h5f5b5041038f2bdbuYv\r\n   4:        0x10da2c16e - rt::unwind::begin_unwind::h12951405995355290391\r\n   5:        0x10da2c0fa - diagnostic::SpanHandler::span_bug::hee7db6ae704bc5ces5B\r\n   6:        0x10bbcba04 - middle::infer::region_inference::RegionVarBindings<'a, 'tcx>::make_subregion::h17ea3dff0f2660c8Bev\r\n   7:        0x10bb850ca - middle::infer::equate::Equate<'a, 'tcx>.TypeRelation<'a, 'tcx>::regions::h80df655f0e10f760mnq\r\n   8:        0x10bb87f56 - middle::ty_relate::relate_substs::h1820706976693806946\r\n   9:        0x10bb8747e - middle::ty_relate::relate_item_substs::h5159513170405011443\r\n  10:        0x10bbe0bfd - middle::ty_relate::super_relate_tys::h13757148578343650441\r\n  11:        0x10bb8038a - middle::infer::sub::Sub<'a, 'tcx>.TypeRelation<'a, 'tcx>::tys::h8f36f6cbabf97f15pmx\r\n  12:        0x10bbe5328 - middle::infer::InferCtxt<'a, 'tcx>::sub_types::h44695d59239b12f5nQy\r\n  13:        0x10b7568e6 - check::method::probe::ProbeContext<'a, 'tcx>::consider_candidates::h2f2bc09beb104474nOh\r\n  14:        0x10b7566cf - check::method::probe::ProbeContext<'a, 'tcx>::pick_method::hdf7aeeb8e7eebf86kKh\r\n  15:        0x10b755aa6 - check::method::probe::ProbeContext<'a, 'tcx>::pick_core::hd60323c5030c3e6beFh\r\n  16:        0x10b74c72c - check::method::probe::probe::closure.31708\r\n  17:        0x10b74a219 - check::method::probe::probe::hf489dbf76e38f57e5ug\r\n  18:        0x10b705664 - check::resolve_ty_and_def_ufcs::h4cf8dd2bbed5e4c2sPr\r\n  19:        0x10b7e7ff6 - check::check_expr_with_unifier::h13097485377881690292\r\n  20:        0x10b7848dc - check::callee::check_call::h2e00fe4937686aa9rIl\r\n  21:        0x10b7cc9e7 - check::check_expr_with_unifier::h4842156260799133842\r\n  22:        0x10b70d9e3 - check::_match::check_match::closure.29465\r\n  23:        0x10b70d771 - check::_match::check_match::hf68e92c4534b33ccBwb\r\n  24:        0x10b7cd00a - check::check_expr_with_unifier::h4842156260799133842\r\n  25:        0x10b7a099b - check::check_block_with_expected::h199e371e659025aeD4r\r\n  26:        0x10b784018 - check::check_fn::h55c03a4c93607e58gFn\r\n  27:        0x10b79b093 - check::check_bare_fn::h4d16c4fbaed14d0fTun\r\n  28:        0x10b7a7dc7 - check::check_method_body::hd9e0a05f6bf1d003P6n\r\n  29:        0x10b798f5b - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h1532f96ccb32559eWrn\r\n  30:        0x10b7993be - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h1532f96ccb32559eWrn\r\n  31:        0x10b7993be - check::CheckItemBodiesVisitor<'a, 'tcx>.Visitor<'tcx>::visit_item::h1532f96ccb32559eWrn\r\n  32:        0x10b85e13a - check_crate::closure.38929\r\n  33:        0x10b857bca - check_crate::h654cce81e26e2e52sJC\r\n  34:        0x10b09096f - driver::phase_3_run_analysis_passes::h073a89ef997f0bf9tGa\r\n  35:        0x10b075393 - driver::compile_input::h63cfd6f3c40c781aQba\r\n  36:        0x10b130fd3 - run_compiler::h229c6f07beca286e75b\r\n  37:        0x10b12e73a - boxed::F.FnBox<A>::call_box::h2635158398789933060\r\n  38:        0x10b12dc97 - rt::unwind::try::try_fn::h7804430850065071904\r\n  39:        0x10e305148 - rust_try_inner\r\n  40:        0x10e305135 - rust_try\r\n  41:        0x10b12df6d - boxed::F.FnBox<A>::call_box::h16128375054666647916\r\n  42:        0x10e27c8ed - sys::thread::Thread::new::thread_start::haf1cc4119c0aa4b2Yjv\r\n  43:     0x7fff8e358267 - _pthread_body\r\n  44:     0x7fff8e3581e4 - _pthread_start"}}