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

Fix regex lints for regex 1.9.0 #11111

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

Alexendoo
Copy link
Member

@Alexendoo Alexendoo commented Jul 5, 2023

regex 1.9.0 was just released, which changes where the types are defined. Instead of updating the definitions to the ones in 1.9.0 this PR uses def_path_def_ids on the canonical paths so that we don't have to worry about third party crate internals

This means that it still works with older regex versions too, and will for any future layout changes. I tested it with 1.8.4 and 1.9.0

changelog: [INVALID_REGEX], [TRIVIAL_REGEX]: now works with regex 1.9.0

@rustbot
Copy link
Collaborator

rustbot commented Jul 5, 2023

r? @giraffate

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 5, 2023
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Jul 6, 2023

📌 Commit f945351 has been approved by giraffate

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 6, 2023

⌛ Testing commit f945351 with merge dd8e44c...

@bors
Copy link
Contributor

bors commented Jul 6, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing dd8e44c to master...

@bors bors merged commit dd8e44c into rust-lang:master Jul 6, 2023
@Alexendoo Alexendoo deleted the regex-def-paths branch July 7, 2023 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants