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
E0434 suggests changing the fn item of a trait impl to a closure #153363
I don't think it's possible to implement a trait without using a fn item. A more detailed hint that refers to the exect fn keyword would also be nice (see #112845).
changed the title [-]E0434 suggests changing the fn of a trait impl to a closure[/-][+]E0434 suggests changing the fn item of a trait impl to a closure[/+]on Mar 3, 2026
Activity
[-]E0434 suggests changing the fn of a trait impl to a closure[/-][+]E0434 suggests changing the fn item of a trait impl to a closure[/+]mvanhorn commentedon Mar 9, 2026
mvanhorn commentedon Mar 9, 2026
Rollup merge of rust-lang#162821 - kulinsky:fix-153363-closure-sugges…
Unrolled build for #162821 in rollup 163111
Rollup merge of #162821 - kulinsky:fix-153363-closure-suggestion, r=m…
Rollup merge of #162821 - kulinsky:fix-153363-closure-suggestion, r=m…