Skip to content

update ambiguous_glob_imported_trait lint explanation and example. - #160354

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
LorrensP-2158466:amb-import-trait-update
Aug 26, 2026
Merged

update ambiguous_glob_imported_trait lint explanation and example.#160354
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
LorrensP-2158466:amb-import-trait-update

Conversation

@LorrensP-2158466

@LorrensP-2158466 LorrensP-2158466 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

In the tracking issue for the ambiguous_glob_imported_trait #152822 someone reported that the explanation is lacking/confusing since #159599.

Explanation and example are extended in this pr.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 1, 2026
@rustbot

rustbot commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

r? @ShoyuVanilla

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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 18 candidates

Comment thread compiler/rustc_lint_defs/src/builtin.rs Outdated
@LorrensP-2158466
LorrensP-2158466 force-pushed the amb-import-trait-update branch from 1ea66a6 to b6edc07 Compare August 2, 2026 16:11
@LorrensP-2158466

Copy link
Copy Markdown
Contributor Author

It has been 3 weeks so I'l reroll, @rustbot reroll

@rustbot rustbot assigned jackh726 and unassigned ShoyuVanilla Aug 26, 2026

@ShoyuVanilla ShoyuVanilla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I meant to review this PR, but it somehow slipped through the cracks 😢

Make sense to me. Thanks!
@bors r+ rollup

View changes since this review

@rust-bors

rust-bors Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b6edc07 has been approved by ShoyuVanilla

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 26, 2026
@LorrensP-2158466

Copy link
Copy Markdown
Contributor Author

Sorry, I meant to review this PR, but it somehow slipped through the cracks 😢

Oh no problem! I didn't want to push, I understand that reviewing takes a lot of energy/time. Thanks for the quick response!

rust-bors Bot pushed a commit that referenced this pull request Aug 26, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #161433 (Overhaul `rustc_middle::query`)
 - #158370 (rewrite never type documentation)
 - #160354 (update `ambiguous_glob_imported_trait` lint explanation and example.)
 - #161447 (Construct paramenvs from an iterator)
 - #161707 (pattern_type: make print format match the current syntax)
 - #161773 (Update WASI targets to wasi-sdk-34)
 - #161807 (bootstrap: skip StdarchVerify when remote testing is enabled)
@rust-bors
rust-bors Bot merged commit a17c1f1 into rust-lang:main Aug 26, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Aug 26, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 26, 2026
Rollup merge of #160354 - LorrensP-2158466:amb-import-trait-update, r=ShoyuVanilla

update `ambiguous_glob_imported_trait` lint explanation and example.

In the tracking issue for the `ambiguous_glob_imported_trait` #152822 someone reported that the explanation is lacking/confusing since #159599.

Explanation and example are extended in this pr.
pull Bot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Aug 27, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#161433 (Overhaul `rustc_middle::query`)
 - rust-lang/rust#158370 (rewrite never type documentation)
 - rust-lang/rust#160354 (update `ambiguous_glob_imported_trait` lint explanation and example.)
 - rust-lang/rust#161447 (Construct paramenvs from an iterator)
 - rust-lang/rust#161707 (pattern_type: make print format match the current syntax)
 - rust-lang/rust#161773 (Update WASI targets to wasi-sdk-34)
 - rust-lang/rust#161807 (bootstrap: skip StdarchVerify when remote testing is enabled)
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 28, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#161433 (Overhaul `rustc_middle::query`)
 - rust-lang/rust#158370 (rewrite never type documentation)
 - rust-lang/rust#160354 (update `ambiguous_glob_imported_trait` lint explanation and example.)
 - rust-lang/rust#161447 (Construct paramenvs from an iterator)
 - rust-lang/rust#161707 (pattern_type: make print format match the current syntax)
 - rust-lang/rust#161773 (Update WASI targets to wasi-sdk-34)
 - rust-lang/rust#161807 (bootstrap: skip StdarchVerify when remote testing is enabled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants