-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type inference of impl Trait
RFC 1522
#1692
Labels
E-easy
Issue required minimal knowledge about platform and project codebase
E-mentor
Issues with known solution and most likely with instruction how to fix/implement it
help wanted
rust
Issues about new language features
rust 2018
Issues related to 2018 Rust edition
Comments
vlad20012
added
E-easy
Issue required minimal knowledge about platform and project codebase
help wanted
labels
Sep 4, 2017
vlad20012
added
the
E-mentor
Issues with known solution and most likely with instruction how to fix/implement it
label
Sep 20, 2017
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 19, 2017
This fulfills the issue: intellij-rust#1692
Hi @vlad20012, i decided to try to do this. |
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 19, 2017
This fulfills the issue: intellij-rust#1692
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 20, 2017
This fulfills the issue: intellij-rust#1692
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 20, 2017
This fulfills the issue: intellij-rust#1692
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 21, 2017
This fulfills the issue: intellij-rust#1692
oleg-semenov
added a commit
to oleg-semenov/intellij-rust
that referenced
this issue
Nov 22, 2017
This fulfills the issue: intellij-rust#1692
bors bot
added a commit
that referenced
this issue
Nov 22, 2017
2048: (TY): add inference of `impl Trait` r=vlad20012 a=oleg-semenov This fulfills the issue: #1692 <!-- Hello and thank you for the pull request! We don't have any strict rules about pull requests, but you might check https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md for some hints! Note that we need an electronic CLA for contributions: https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTING.md#cla After you sign the CLA, please add your name to https://github.com/intellij-rust/intellij-rust/blob/master/CONTRIBUTORS.txt :) -->
Undin
added
rust
Issues about new language features
rust 2018
Issues related to 2018 Rust edition
labels
Jul 2, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Issue required minimal knowledge about platform and project codebase
E-mentor
Issues with known solution and most likely with instruction how to fix/implement it
help wanted
rust
Issues about new language features
rust 2018
Issues related to 2018 Rust edition
RFC 1522
I know that
impl Trait
is an unstable feature, but is used increasingly in rustc itself, and I tired of stumbling over type inference failures caused by this =DIt is pretty easy to implement - just create new type
TyAnon
in packageorg.rust.lang.core.types.ty
with single field of typeList<BoundElement<RsTraitItem>>
, instantiate it inDeclarations.inferTypeReferenceType
for element of typeRsImplTraitType
and then add a special case for it in theImplLookup.findImplsAndTraits
just likeTyTypeParameter
.You can find more info about how to start contributing to Intellij-Rust in CONTRIBUTING.md, and some info about our architecure in ARCHITECTURE.md. If you have any questions about this issue, you can ask them right here or in our gitter. If you decided to grab this issue, please leave a comment here and put yourself in the worklist.
The text was updated successfully, but these errors were encountered: