Skip to content
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

Completion based on impl<T: Bound> #948

Merged
merged 3 commits into from
Sep 5, 2018
Merged

Conversation

kngwyu
Copy link
Collaborator

@kngwyu kngwyu commented Sep 4, 2018

e.g.

struct St<T>(T);
trait Trait: Sized {
   fn method(&self);
}
impl<T: Trait> St<T> {
    fn new(t: T) -> Self {
        t.met~
    }
}
  • get type of self
  • get type of return type
  • makes finds_definition work

@kngwyu kngwyu removed the not ready label Sep 5, 2018
@kngwyu kngwyu changed the title [WIP] Completion based on impl<T: Bound> Completion based on impl<T: Bound> Sep 5, 2018
@kngwyu kngwyu merged commit 75dbb38 into racer-rust:master Sep 5, 2018
@kngwyu kngwyu deleted the tbound2 branch September 5, 2018 07:48
@kngwyu kngwyu mentioned this pull request Sep 5, 2018
14 tasks
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.

1 participant