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

Move lifetime resolution module to rustc_hir_analysis. #102859

Merged
merged 1 commit into from Oct 11, 2022

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Oct 9, 2022

Now that lifetime resolution has been removed from it, this file has nothing to do in rustc_resolve. It's purpose is to compute Debruijn indices for lifetimes, so let's put it in type collection.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 9, 2022
@rust-highfive
Copy link
Collaborator

r? @oli-obk

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 9, 2022
@bors
Copy link
Contributor

bors commented Oct 9, 2022

☔ The latest upstream changes (presumably #102850) made this pull request unmergeable. Please resolve the merge conflicts.

@petrochenkov
Copy link
Contributor

Nice.

@oli-obk
Copy link
Contributor

oli-obk commented Oct 11, 2022

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 11, 2022

📌 Commit a474ec5 has been approved by oli-obk

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 11, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Oct 11, 2022
Move lifetime resolution module to rustc_hir_analysis.

Now that lifetime resolution has been removed from it, this file has nothing to do in `rustc_resolve`.  It's purpose is to compute Debruijn indices for lifetimes, so let's put it in type collection.
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 11, 2022
Rollup of 7 pull requests

Successful merges:

 - rust-lang#102258 (Remove unused variable in float formatting.)
 - rust-lang#102277 (Consistently write `RwLock`)
 - rust-lang#102412 (Never panic in `thread::park` and `thread::park_timeout`)
 - rust-lang#102589 (scoped threads: pass closure through MaybeUninit to avoid invalid dangling references)
 - rust-lang#102625 (fix backtrace small typo)
 - rust-lang#102859 (Move lifetime resolution module to rustc_hir_analysis.)
 - rust-lang#102898 (rustdoc: remove unneeded `<div>` wrapper from sidebar DOM)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 98764c0 into rust-lang:master Oct 11, 2022
@rustbot rustbot added this to the 1.66.0 milestone Oct 11, 2022
@cjgillot cjgillot deleted the collect-lifetimes branch October 13, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants