Remove unnecessary tcx
parameter to param_env_to_generics
#82137
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
You can get a tcx from
self.cx.tcx
, there's no need to pass it separately.Note that this will conflict with #82020 so you may want to wait a day or two (or not, if you don't mind rebasing).
The text was updated successfully, but these errors were encountered: