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

No lazy static regex #6654

Merged
merged 2 commits into from
Jan 30, 2021
Merged

No lazy static regex #6654

merged 2 commits into from
Jan 30, 2021

Conversation

flip1995
Copy link
Member

r? @llogiq

#6500

regex is unnecessary for this lint (#6500 (comment))
lazy_static is unnecessary. The std lazy feature should be used instead.

changelog: none

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 30, 2021
@flip1995
Copy link
Member Author

This is blocking the sync, so I'm merging my self. This shouldn't have any impact on the lint behavior (no change in tests).

@bors r+

@bors
Copy link
Contributor

bors commented Jan 30, 2021

📌 Commit 3874631 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jan 30, 2021

⌛ Testing commit 3874631 with merge 95c0459...

@bors
Copy link
Contributor

bors commented Jan 30, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 95c0459 to master...

@bors bors merged commit 95c0459 into rust-lang:master Jan 30, 2021
@flip1995 flip1995 deleted the no_lazy_static_regex branch January 30, 2021 17:06
@phansch
Copy link
Member

phansch commented Jan 30, 2021

@flip1995 wait, but what is the source of regex in our UI tests? For example: https://github.com/rust-lang/rust-clippy/blob/master/tests/ui/regex.rs

@flip1995
Copy link
Member Author

Good question, to which I don't have an answer. We have some regex deps in ui-cargo and in clippy_dev, but not in any of the actual Clippy packages.

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.

5 participants