Skip to content

Avoid suggesting traits multiple times.#21421

Merged
bors merged 1 commit intorust-lang:masterfrom
huonw:one-suggestion-per-trait
Jan 22, 2015
Merged

Avoid suggesting traits multiple times.#21421
bors merged 1 commit intorust-lang:masterfrom
huonw:one-suggestion-per-trait

Conversation

@huonw
Copy link
Contributor

@huonw huonw commented Jan 20, 2015

This is clearly useless, the user doesn't need to know that they could
implement/import foo::bar::Baz 4 times.

Fixes #21405.

This is clearly useless, the user doesn't need to know that they could
implement/import `foo::bar::Baz` 4 times.

Fixes rust-lang#21405.
@rust-highfive
Copy link
Contributor

r? @Aatch

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

@huonw
Copy link
Contributor Author

huonw commented Jan 20, 2015

r? @nikomatsakis

(I haven't actually tracked down why this was happening at all, but it seems like deduplication is eminently sensible either way.)

@rust-highfive rust-highfive assigned nikomatsakis and unassigned Aatch Jan 20, 2015
@nikomatsakis
Copy link
Contributor

@huonw oh, yes, sometimes duplicates show up in these lists I think.

@nikomatsakis
Copy link
Contributor

@bors: r+ 849a38a

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 21, 2015
This is clearly useless, the user doesn't need to know that they could
implement/import `foo::bar::Baz` 4 times.

Fixes rust-lang#21405.
@bors bors merged commit 849a38a into rust-lang:master Jan 22, 2015
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 12, 2026
…ister

fix: Fixes for builtin derive expansions
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 27, 2026
…ister

fix: Fixes for builtin derive expansions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trait suggestions suggest the same trait multiple times

5 participants

Comments