Skip to content

Conversation

@Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Oct 11, 2025

Supercedes #15270

This first PR just moves the existing code and simplifies a few things. The switch to use the new range API isn't really used in this PR , but it's needed by future changes to avoid having to add .clone() all over the place.

changelog: none

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 11, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 11, 2025

r? @llogiq

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

@samueltardieu
Copy link
Member

Commit messages of commits 3 and 6 need to be shortened to be properly displayed by git

@samueltardieu
Copy link
Member

Since I've reviewed this already as part of #15921 r? samueltardieu
LGTM except for the commit messages mentioned above

@rustbot rustbot assigned samueltardieu and unassigned llogiq Oct 22, 2025
@flip1995
Copy link
Member

Commit messages of commits 3 and 6 need to be shortened to be properly displayed by git

Wait, do we really care about this? 👀 Short headings in commit messages are appreciated, but I think strictly limiting this to 80 characters is a bit outdated nowadays.

@samueltardieu
Copy link
Member

Wait, do we really care about this? 👀 Short headings in commit messages are appreciated, but I think strictly limiting this to 80 characters is a bit outdated nowadays.

Github still shows them poorly in some places such as in the current PR, if you review by commit, you'll see for the third one:

 clippy_dev: Rename RustSearcher to Cursor and move it to its ow…
…n module.

But it looks like this is fixed in the other places (and in fine in git's and jj's clis), so I'll withdraw my request and merge this.

@samueltardieu samueltardieu added this pull request to the merge queue Oct 22, 2025
Merged via the queue into rust-lang:master with commit 00f68d5 Oct 22, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 22, 2025
github-merge-queue bot pushed a commit that referenced this pull request Oct 23, 2025
Based on #15866

This adds a parsing context that can allocate from an arena. Ultimately
this will also store a source map for better error reporting, but a few
other changes are happening before that.

The arena itself is unlikely to be needed from a perf standpoint
(reading all the files should be the slow part), but having more things
be copyable is nice. For reference the perf impact of this change is
within the noise.

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants