Skip to content

[wildcard_imports] Modules that contain prelude are also allowed#10848

Merged
bors merged 1 commit into
rust-lang:masterfrom
charmitro:wildcard-prelude-detection
May 30, 2023
Merged

[wildcard_imports] Modules that contain prelude are also allowed#10848
bors merged 1 commit into
rust-lang:masterfrom
charmitro:wildcard-prelude-detection

Conversation

@charmitro

Copy link
Copy Markdown
Contributor

This commit fixes #10846 by checking if the path segment contains the word "prelude", allowing us
use module_prelude::*.

changelog: [wildcard_imports]: Modules that contain prelude are also allowed

This commit fixes rust-lang#10846 by checking if the path segment contains the
word "prelude".

Signed-off-by: Charalampos Mitrodimas <charmitro@gmail.com>
@rustbot

rustbot commented May 30, 2023

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @llogiq (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 30, 2023
@llogiq

llogiq commented May 30, 2023

Copy link
Copy Markdown
Contributor

Thank you!

@bors r+

@bors

bors commented May 30, 2023

Copy link
Copy Markdown
Contributor

📌 Commit 2883124 has been approved by llogiq

It is now in the queue for this repository.

@bors

bors commented May 30, 2023

Copy link
Copy Markdown
Contributor

⌛ Testing commit 2883124 with merge 8793c2a...

@bors

bors commented May 30, 2023

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 8793c2a to master...

@bors bors merged commit 8793c2a into rust-lang:master May 30, 2023
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.

wildcard_imports triggers for use example::bindgen_prelude::*

4 participants