Skip to content

fix: Do not propose inherent traits in flyimports and import assists - #8539

Merged
bors[bot] merged 1 commit into
rust-lang:masterfrom
SomeoneToIgnore:do-not-flyimport-inherent-traits
Apr 16, 2021
Merged

bors[bot] merged 1 commit into
rust-lang:masterfrom
SomeoneToIgnore:do-not-flyimport-inherent-traits

Conversation

@SomeoneToIgnore

@SomeoneToIgnore SomeoneToIgnore commented Apr 16, 2021 •

Copy link
Copy Markdown
Contributor

Closes #8520

I've went with a separate method approach, since the highlighted code has notType and uses Ty to get his data, but the code I had to change has no access to Ty and has Type only.

@SomeoneToIgnore SomeoneToIgnore changed the title fix: Exclude inherent traits from flyimports fix: Do not propose inherent traits in flyimports and import assists Apr 16, 2021
@flodiebold

Copy link
Copy Markdown
Member

bors r+

@bors

bors Bot commented Apr 16, 2021

Copy link
Copy Markdown
Contributor

@bors
bors Bot merged commit 5274eb1 into rust-lang:master Apr 16, 2021
@SomeoneToIgnore
SomeoneToIgnore deleted the do-not-flyimport-inherent-traits branch April 16, 2021 18:14
@lnicola lnicola changed the title fix: Do not propose inherent traits in flyimports and import assists fix: Do not propose inherent traits in flyimports and import assists Apr 18, 2021
bors Bot added a commit that referenced this pull request Dec 10, 2021
10979: fix: Don't show trait flyimports for impl trait and placeholders r=Veykril a=Veykril

cc #8539
bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
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.

Duplicate trait autoimport completions with trait objects

2 participants