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
Auto merge of #120114 - Enselic:rm-fn_span, r=<try>
Make `TerminatorKind::Call::func` `Spanned` and remove `::fn_span`
To get structural symmetry between `TerminatorKind::Call::func` and `TerminatorKind::Call::args`, make `func` `Spanned`, since `args` already is `Spanned`. This way we can remove the separate `fn_span` field.
Doing this was briefly discussed [here](#116520 (comment)).
For easier review, this PR is split into two commits. The first commit is the actual change. The second commit just makes the code build again and is very repetitive.
Can someone start a perf run of this change please?
0 commit comments