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
should error because 'b: 'a is not met but needed by Foo<'a, 'b>::ASSOC.
This happens because the predicates of constants are only checked for function definitions
while they have to also get checked for associated constants. I feel like we should really
just check the predicates for all constants instead of trying to safe some work here.
should error because
'b: 'a
is not met but needed byFoo<'a, 'b>::ASSOC
.This happens because the predicates of constants are only checked for function definitions
while they have to also get checked for associated constants. I feel like we should really
just check the predicates for all constants instead of trying to safe some work here.
rust/compiler/rustc_borrowck/src/type_check/mod.rs
Lines 466 to 473 in d2df372
The text was updated successfully, but these errors were encountered: