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
Able to use the turbofish syntax with impl trait for methods #50950
changed the title [-]Able to use the turbofish syntax with impl trait in some cases[/-][+]Able to use the turbofish syntax with impl trait for methods[/+]on May 24, 2018
Activity
kennytm commentedon May 21, 2018
Note that the
<T: Any>is irrelevant. E0632 seems to be ignoringfunctions in an implmethods.Edit: Calling with fully-qualified syntax
X::g::<u64>(&X, 0)will trigger E0632.petrochenkov commentedon May 21, 2018
This is great.
Now it remains to make it ignore non-methods.
Restioson commentedon May 21, 2018
Yeah, this is a plus, actually.
scottmcm commentedon May 22, 2018
Hmm, is this one of the things that would be covered by rust-lang/rfcs#2405?
[-]Able to use the turbofish syntax with impl trait in some cases[/-][+]Able to use the turbofish syntax with impl trait for methods[/+]nikomatsakis commentedon May 25, 2018
@scottmcm
certainly =)
Auto merge of #51051 - nikomatsakis:turbofish-impl-trait-method, r=eddyb