Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Region: Deref<Target = RegionKind> impl #139359

Open
lcnr opened this issue Apr 4, 2025 · 0 comments
Open

remove Region: Deref<Target = RegionKind> impl #139359

lcnr opened this issue Apr 4, 2025 · 0 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged.

Comments

@lcnr
Copy link
Contributor

lcnr commented Apr 4, 2025

call .kind() in cases where it is currently used.

This impl is a relic of back when we still interned regions as &'tcx RegionKind and differs from Ty and ty::Const

@lcnr lcnr added E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. labels Apr 4, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 4, 2025
@lcnr lcnr added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged.
Projects
None yet
Development

No branches or pull requests

2 participants