Skip to content

Avoid suggesting traits multiple times. - #21421

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

bors merged 1 commit into
rust-lang:masterfrom
huonw:one-suggestion-per-trait

Conversation

@huonw

@huonw huonw commented Jan 20, 2015

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

r? @Aatch

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

@huonw

huonw commented Jan 20, 2015

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

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

@nikomatsakis

Copy link
Copy Markdown
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