Skip to content

Conversation

@GnomedDev
Copy link
Contributor

@GnomedDev GnomedDev commented Oct 11, 2024

This gets rid of a bunch of possible panic spots, as well as bailing out earlier for optimisation reasons.

I started doing this because I saw that a significant amount of time was being spent in the create_dir restriction lint when running clippy with perf, but this also helps with robustness.

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Oct 11, 2024

r? @y21

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

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 11, 2024
@GnomedDev GnomedDev force-pushed the create-dir-single-arg branch from e6a0933 to ef1db3f Compare October 13, 2024 10:24
@y21
Copy link
Member

y21 commented Oct 13, 2024

Looks good, thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 13, 2024

📌 Commit ef1db3f has been approved by y21

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 13, 2024

⌛ Testing commit ef1db3f with merge eb5f415...

bors added a commit that referenced this pull request Oct 13, 2024
Check MethodCall/Call arg count earlier or at all

This gets rid of a bunch of possible panic spots, as well as bailing out earlier for optimisation reasons.

I started doing this because I saw that a significant amount of time was being spent in the `create_dir` restriction lint when running clippy with `perf`, but this also helps with robustness.
@bors
Copy link
Contributor

bors commented Oct 13, 2024

💔 Test failed - checks-action_test

@y21
Copy link
Member

y21 commented Oct 13, 2024

@bors retry

@bors
Copy link
Contributor

bors commented Oct 13, 2024

⌛ Testing commit ef1db3f with merge 236751d...

@bors
Copy link
Contributor

bors commented Oct 13, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: y21
Pushing 236751d to master...

@bors bors merged commit 236751d into rust-lang:master Oct 13, 2024
8 checks passed
@GnomedDev GnomedDev deleted the create-dir-single-arg branch October 13, 2024 15:14
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