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
inherent method selection uses subtyping even when using paths #126227
I would like us to change method selection for associated items to use equality. It feels very wrong to completely ignore the user type annotation here:
structB<T>(T);implB<fn(&'static())>{fnmethod(self){println!("hey");}}fnfoo(y:B<fn(&'static())>){// looks like it requires a hr fn pointer,// but we never check that.B::<for<'a> fn(&'a())>::method(y);}fnmain(){}
Activity
Auto merge of rust-lang#129073 - compiler-errors:receiver-variance, r…
Rollup merge of rust-lang#129073 - compiler-errors:receiver-variance,…
Auto merge of rust-lang#129073 - compiler-errors:receiver-variance, r…