Skip to content

A couple of tiny polonius things#152587

Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
lqd:tiny-things
Feb 14, 2026
Merged

A couple of tiny polonius things#152587
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
lqd:tiny-things

Conversation

@lqd
Copy link
Member

@lqd lqd commented Feb 13, 2026

Here's a couple of tiny things I had ready to go @jackh726

  • a tiny cleanup to avoid round-tripping through Locations to check for liveness, since we're already working with points
  • while I was there, I fixed the doc which wasn't showing up properly (maybe a rustdoc or bootstrap bug when we build locally or during dist, either way, both don't show up correctly linked most of the time) for PointIndexes.
  • and in the second commit slightly expand test coverage with an example that would have needed stdlib changes (cc author @Darksonn for visibility here)

More soon.

r? @jackh726

lqd added 2 commits February 13, 2026 17:10
It avoids round-tripping through `Location`s if you're working with
`Point`s already.
@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 Feb 13, 2026
@jackh726
Copy link
Member

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 13, 2026

📌 Commit 65eb2e7 has been approved by jackh726

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Feb 13, 2026
rust-bors bot pushed a commit that referenced this pull request Feb 14, 2026
Rollup of 11 pull requests

Successful merges:

 - #151998 (Set hidden visibility on naked functions in compiler-builtins)
 - #149460 (rustdoc: sort stable items first)
 - #152076 (Feed `ErrorGuaranteed` from late lifetime resolution errors through to bound variable resolution)
 - #152471 (improve associated-type suggestions from bounds)
 - #152573 (move `escape_symbol_name` to `cg_ssa`)
 - #152594 (c-variadic: implement `va_arg` for `wasm64`)
 - #151386 (rustdoc: more js cleanup)
 - #152567 (nix-dev-shell: fix a typo)
 - #152568 (Port `#[lang]` and `#[panic_handler]` to the new attribute parsers)
 - #152575 (layout_of unexpected rigid alias delayed bug)
 - #152587 (A couple of tiny polonius things)
@rust-bors rust-bors bot merged commit 4bcbf62 into rust-lang:main Feb 14, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Feb 14, 2026
Rollup merge of #152587 - lqd:tiny-things, r=jackh726

A couple of tiny polonius things

Here's a couple of tiny things I had ready to go @jackh726
- a tiny cleanup to avoid round-tripping through `Location`s to check for liveness, since we're already working with points
- while I was there, I fixed the doc which wasn't showing up properly (maybe a rustdoc or bootstrap bug when we build locally or during dist, either way, both don't show up correctly linked most of the time) for `PointIndex`es.
- and in the second commit slightly expand test coverage with [an example](https://internals.rust-lang.org/t/get-mut-map-back-from-entry-api/24003) that would have needed stdlib changes (cc author @Darksonn for visibility here)

More soon.

r? @jackh726
@rustbot rustbot added this to the 1.95.0 milestone Feb 14, 2026
@lqd lqd deleted the tiny-things branch February 14, 2026 10:42
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.

3 participants