Skip to content

A few borrowck tweaks to improve 2024 edition migration lints #135147

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

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

compiler-errors
Copy link
Member

See first two commits' changes to test outputs. Test coverage in this area is kinda weak, but I think it affects more cases than this (like the craters that will begin to trigger the tail_expr_drop_order tests in #134523).

Third commit is a drive-by change that removes a deref hack from UseSpans which doesn't really improve diagnostics much.

@rustbot
Copy link
Collaborator

rustbot commented Jan 6, 2025

r? @chenyukang

rustbot has assigned @chenyukang.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 6, 2025
@chenyukang
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 6, 2025

📌 Commit 3399029 has been approved by chenyukang

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 Jan 6, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 6, 2025
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#135111 (Add doc aliases for `libm` and IEEE names)
 - rust-lang#135129 (triagebot: label `src/doc/rustc-dev-guide` changes with `A-rustc-dev-guide`)
 - rust-lang#135132 (dev guide ping group and set adhoc reviewers to compiler)
 - rust-lang#135145 (Mention `unnameable_types` in `unreachable_pub` documentation.)
 - rust-lang#135147 (A few borrowck tweaks to improve 2024 edition migration lints)
 - rust-lang#135150 (move footnote to ordinary comment)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ee6914a into rust-lang:master Jan 6, 2025
6 checks passed
@rustbot rustbot added this to the 1.86.0 milestone Jan 6, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 6, 2025
Rollup merge of rust-lang#135147 - compiler-errors:borrowck-tweaks, r=chenyukang

A few borrowck tweaks to improve 2024 edition migration lints

See first two commits' changes to test outputs. Test coverage in this area is kinda weak, but I think it affects more cases than this (like the craters that will begin to trigger the `tail_expr_drop_order` tests in rust-lang#134523).

Third commit is a drive-by change that removes a deref hack from `UseSpans` which doesn't really improve diagnostics much.
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.

4 participants