Skip to content

Remove unused method DroplessArena::contains_slice#151908

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Zalathar:contains-slice
Jan 31, 2026
Merged

Remove unused method DroplessArena::contains_slice#151908
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Zalathar:contains-slice

Conversation

@Zalathar
Copy link
Member

Checking whether a particular slice is within an arena is a bit of a sketchy operation, so if there's no pressing need for it then I think we're better off not having it lying around.

@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 31, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 31, 2026

r? @jackh726

rustbot has assigned @jackh726.
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

@chenyukang
Copy link
Member

@bors r=chenyukang

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 31, 2026

📌 Commit e60c475 has been approved by chenyukang

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 Jan 31, 2026
@Kivooeo Kivooeo assigned chenyukang and unassigned jackh726 Jan 31, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 31, 2026
…uwer

Rollup of 3 pull requests

Successful merges:

 - #151908 (Remove unused method `DroplessArena::contains_slice`)
 - #151850 (refactor: add an `enum DerefAdjustKind` in favor of `Option<OverloadedDeref>`)
 - #151889 (Fix ICE when parsing frontmatter without newline)
@rust-bors rust-bors bot merged commit 5d166b7 into rust-lang:main Jan 31, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 31, 2026
rust-timer added a commit that referenced this pull request Jan 31, 2026
Rollup merge of #151908 - Zalathar:contains-slice, r=chenyukang

Remove unused method `DroplessArena::contains_slice`

- This method was added for #120128.
- It became unused in #136593.

Checking whether a particular slice is within an arena is a bit of a sketchy operation, so if there's no pressing need for it then I think we're better off not having it lying around.
@Zalathar Zalathar deleted the contains-slice branch January 31, 2026 22:53
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