Skip to content

Remove unnecessary tcx parameter to param_env_to_generics #82137

Closed
@jyn514

Description

@jyn514

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).

Metadata

Metadata

Assignees

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions