You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
incompletely relating alias args may cause borrowck ICE #140211
traitId{typeThis<'a>;}#[derive(Copy,Clone)]structW<T>(T);implIdforW<u32>{typeThis<'a> = W<u32>;}implIdforW<i32>{typeThis<'a> = W<i32>;}traitTrait<T>{}// when using this impl we only normalize after instantiating// with infer vars, at this point `<?t as Id>::This<'a>` is still// ambig, so we keep the alias around and require it to structurally// relate.impl<T:Id>Trait<for<'a> fn(T::This<'a>)>forT{}fnis_trait<T:Trait<U>,U>(_x:T){}fnmain(){let x = W(1);// We prove `W<_>: Trait<for<'a> fn(<W<_>>::This<'a>)>` during// typeck, and `W<i32>: Trait<for<'a> fn(<W<i32>)>` during borrowck.// This then fails.is_trait(x);let _:W<i32> = x;}
changed the title [-]imcompletely relating alias args may cause borrowck ICE[/-][+]incompletely relating alias args may cause borrowck ICE[/+]on Apr 23, 2025
Activity
[-]imcompletely relating alias args may cause borrowck ICE[/-][+]incompletely relating alias args may cause borrowck ICE[/+]Rollup merge of rust-lang#163796 - lcnr:crashes-migration, r=lqd
Rollup merge of rust-lang#163796 - lcnr:crashes-migration, r=lqd
Unrolled build for #163796 in rollup 163829
failed to resolve instance for <fn(FooImpl, ()) as FooFn>::bar#139120 as a duplicate of this issueRollup merge of rust-lang#163806 - lcnr:crashes-migration-cont, r=lqd
Rollup merge of rust-lang#163806 - lcnr:crashes-migration-cont, r=lqd
Rollup merge of rust-lang#163806 - lcnr:crashes-migration-cont, r=lqd
Unrolled build for #163806 in rollup 163957