Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ RUSTC_LOG="rustc::ty::relate,rustc::infer::nll_relate,rustc::infer::equate,rustc::infer::region_contraints,rustc_mir::borrow_check::nll::type_check" rustc -Zverbose src/test/ui/const-generics/issue-60813.rs
- warning: the feature `const_generics` is incomplete and may cause the compiler to crash
- --> src/test/ui/const-generics/issue-60813.rs:3:12
- |
- 3 | #![feature(const_generics)]
- | ^^^^^^^^^^^^^^
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), ())
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=()
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#1r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#1r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#1r mut _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#1r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#1r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#1r _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#0r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#0r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#0r mut _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&ReStatic str b=&ReStatic str
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Generalizer.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: str, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#1r str b=&ReStatic str
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Sub.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: str, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#3r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#3r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#3r mut _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#3r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#1t, mutbl: MutMutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#3r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#3r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#3r _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#3r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#1t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#1r str, &'_#2r _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#1r str, &'_#2r _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#1r str b=&'_#2r _#2t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#1r, '_#2r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#2t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#2r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#2r mut _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#2r mut _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#2r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#1t, mutbl: MutMutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#3r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#3r _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#3r _#1t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#3r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#1t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#1t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(_#0t, &'_#2r _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#1r str, &'_#2r _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#1r str b=&'_#2r _#2t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#1r, '_#2r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#2t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#2t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: input_or_output=&'_#0r str
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: add_implied_bounds(ty=&'_#0r str)
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#0r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#1r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_user_type_annotations: user_type_annotations=[]
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: sanitize_place: _0
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: sanitize_constant(constant=const "Hello, world!", location=bb0[0])
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: sanitize_constant: expected_ty=&'_#3r str
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::relate_tys: eq_types(a=&'_#3r str, b=&'_#2r str, locations=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: tys(a=&'_#3r str, b=&'_#2r str, variance=o)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#3r str b=&'_#2r str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance(variance=-, a='_#3r, b='_#2r)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: ambient_variance = o
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions(a='_#3r, b='_#2r, variance=o)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: replace_bound_regions(scopes=[])
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: replace_bound_regions(scopes=[])
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions: v_a = '_#3r
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions: v_b = '_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: push_outlives('_#2r: '_#3r)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: push_outlives('_#3r: '_#2r)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: r='_#3r
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: nll::subtype.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: str, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance(variance=+, a=str, b=str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: ambient_variance = o
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: tys(a=str, b=str, variance=o)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: r=str
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: run_on_mir: src/test/ui/const-generics/issue-60813.rs:9:25: 9:40
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_stmt: _0 = const "Hello, world!"
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::relate_tys: eq_types(a=&'_#2r str, b=&'_#5r str, locations=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: tys(a=&'_#2r str, b=&'_#5r str, variance=+)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#2r str b=&'_#5r str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance(variance=-, a='_#2r, b='_#5r)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: ambient_variance = -
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions(a='_#2r, b='_#5r, variance=-)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: replace_bound_regions(scopes=[])
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: replace_bound_regions(scopes=[])
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions: v_a = '_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: regions: v_b = '_#5r
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: push_outlives('_#2r: '_#5r)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: r='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: nll::subtype.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: str, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance(variance=+, a=str, b=str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: ambient_variance = +
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: tys(a=str, b=str, variance=+)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: relate_with_variance: r=str
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: prove_predicates(predicate=Binder(TraitPredicate(<&'_#5r str as std::marker::Sized>)), locations=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: prove_predicate(predicate=Binder(TraitPredicate(<&'_#5r str as std::marker::Sized>)), location=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_terminator: Terminator { source_info: SourceInfo { span: src/test/ui/const-generics/issue-60813.rs:9:25: 9:40, scope: scope[0] }, kind: return }
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type( revealed_ty=&'_#5r str, anon_ty=&'_#0r str)
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: mir_def_id=DefId(0:15 ~ issue_60813[317d]::main[0]::{{constant}}[0])
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: instantiated output_ty=&'_#0r str opaque_type_map={} revealed_ty=&'_#5r str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#5r str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#5r str)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#5r str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#5r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: str, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: equated
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: push_region_constraints: constraints generated at All(src/test/ui/const-generics/issue-60813.rs:9:25: 9:40) are [
- Binder(
- OutlivesPredicate(
- '_#5r,
- '_#0r,
- ),
- ),
- Binder(
- OutlivesPredicate(
- '_#0r,
- '_#5r,
- ),
- ),
- ]
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::constraint_conversion: generate: constraints at: All(
- src/test/ui/const-generics/issue-60813.rs:9:25: 9:40,
- )
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::constraint_conversion: generate: constraints at: All(
- src/test/ui/const-generics/issue-60813.rs:9:25: 9:40,
- )
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: liveness::generate
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 1 total variables
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 0 variables need liveness
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 5 regions outlive free regions
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&ReErased str, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&ReErased str, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&ReErased str b=&'_#0r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions(ReErased, '_#0r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#0t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&ReErased str, &'_#0r mut _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&ReErased str, &'_#0r mut _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&ReErased str b=&'_#0r mut _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions(ReErased, '_#0r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#0t, mutbl: MutMutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&ReErased str, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&ReErased str, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&ReErased str b=&'_#0r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions(ReErased, '_#0r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#0t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=()
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=()
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), ())
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), ())
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(fn(), fn())
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#0r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(fn() {function_with_str::<"Hello, world!">}, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (fn() {function_with_str::<"Hello, world!">}, &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=fn() {function_with_str::<"Hello, world!">} b=&'_#0r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#1r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#1r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#1r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#1r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#0t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&'_#0r str, &'_#1r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&'_#0r str, &'_#1r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&'_#0r str b=&'_#1r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions('_#0r, '_#1r)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: Equate.mts(TypeAndMut { ty: str, mutbl: MutImmutable }, TypeAndMut { ty: _#0t, mutbl: MutImmutable })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (str, _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=str b=str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(str, str)
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: input_or_output=()
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: add_implied_bounds(ty=())
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#0r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#1r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#2r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#2r outlives fr_b='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#2r outlives fr_b='_#2r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_user_type_annotations: user_type_annotations=[]
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: sanitize_place: _0
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: run_on_mir: src/test/ui/const-generics/issue-60813.rs:6:1: 6:58
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_stmt: _0 = ()
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::relate_tys: eq_types(a=(), b=(), locations=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::nll_relate: tys(a=(), b=(), variance=+)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=()
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: prove_aggregate_predicates(aggregate_kind=Tuple, location=bb0[0])
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: prove_predicates(predicate=Binder(TraitPredicate(<() as std::marker::Sized>)), locations=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: prove_predicate(predicate=Binder(TraitPredicate(<() as std::marker::Sized>)), location=Single(bb0[0]))
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_terminator: Terminator { source_info: SourceInfo { span: src/test/ui/const-generics/issue-60813.rs:6:58: 6:58, scope: scope[0] }, kind: return }
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type( revealed_ty=(), anon_ty=())
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: mir_def_id=DefId(0:12 ~ issue_60813[317d]::function_with_str[0])
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: instantiated output_ty=() opaque_type_map={} revealed_ty=()
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), ())
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: eq_opaque_type_and_type: equated
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: liveness::generate
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 1 total variables
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 0 variables need liveness
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::liveness: 3 regions outlive free regions
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#0r _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#0r _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys((), &'_#0r mut _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements ((), &'_#0r mut _#0t)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=() b=&'_#0r mut _#0t
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: input_or_output=()
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: add_implied_bounds(ty=())
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#0r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#0r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: build: relating free region '_#1r to itself and to 'static
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#0r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check::free_region_relations: relate_universal_regions: fr_a='_#1r outlives fr_b='_#1r
- DEBUG 2019-06-04T16:53:02Z: rustc_mir::borrow_check::nll::type_check: check_user_type_annotations: user_type_annotations=[CanonicalUserTypeAnnotation { user_ty: Canonical { max_universe: U0, variables: [], value: TypeOf(DefId(0:12 ~ issue_60813[317d]::function_with_str[0]), UserSubsts { substs: [Const { ty: &ReStatic str, val: Unevaluated(DefId(0:15 ~ issue_60813[317d]::main[0]::{{constant}}[0]), []) }], user_self_ty: None }) }, span: src/test/ui/const-generics/issue-60813.rs:9:5: 9:41, inferred_ty: fn() {function_with_str::<"Hello, world!">} }]
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(fn() {function_with_str::<"Hello, world!">}, fn() {function_with_str::<"Hello, world!">})
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (fn() {function_with_str::<"Hello, world!">}, fn() {function_with_str::<"Hello, world!">})
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=fn() {function_with_str::<"Hello, world!">} b=fn() {function_with_str::<"Hello, world!">}
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.consts(Const { ty: &ReLateBound(DebruijnIndex(0), BrAnon(0)) str, val: Slice { data: Allocation { bytes: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [8191], len: Size { raw: 13 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 13 } }, Const { ty: &ReErased str, val: Slice { data: Allocation { bytes: [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [8191], len: Size { raw: 13 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 13 } })
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys(&ReLateBound(DebruijnIndex(0), BrAnon(0)) str, &ReErased str)
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.tys: replacements (&ReLateBound(DebruijnIndex(0), BrAnon(0)) str, &ReErased str)
- DEBUG 2019-06-04T16:53:02Z: rustc::ty::relate: super_relate_tys: a=&ReLateBound(DebruijnIndex(0), BrAnon(0)) str b=&ReErased str
- DEBUG 2019-06-04T16:53:02Z: rustc::infer::equate: Equate.regions(ReLateBound(DebruijnIndex(0), BrAnon(0)), ReErased)
- error: internal compiler error: src/librustc/infer/region_constraints/mod.rs:660: cannot relate bound region: ReLateBound(DebruijnIndex(0), BrAnon(0)) <= ReErased
- thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:572:9
- note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
- error: aborting due to previous error
- note: the compiler unexpectedly panicked. this is a bug.
- note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
- note: rustc 1.37.0-dev running on x86_64-unknown-linux-gnu
- note: compiler flags: -Z verbose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement