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

Fix compilation error for assoc types in the Iterator traits #105

Merged
merged 1 commit into from
Jan 5, 2015

Conversation

kui
Copy link
Contributor

@kui kui commented Jan 5, 2015

This error is the following:

$ make
rustc -O -o bin/racer src/main.rs
src/racer/codeiter.rs:22:10: 22:32 error: wrong number of type arguments: expected 0, found 1
src/racer/codeiter.rs:22 impl<'a> Iterator<(uint, uint)> for StmtIndicesIter<'a> {
                                  ^~~~~~~~~~~~~~~~~~~~~~

This is caused by rust-lang/rust#20441.

This error is the following:

```
$ make
rustc -O -o bin/racer src/main.rs
src/racer/codeiter.rs:22:10: 22:32 error: wrong number of type arguments: expected 0, found 1
src/racer/codeiter.rs:22 impl<'a> Iterator<(uint, uint)> for StmtIndicesIter<'a> {
                                  ^~~~~~~~~~~~~~~~~~~~~~
```

This is caused by <rust-lang/rust#20441>
@kui
Copy link
Contributor Author

kui commented Jan 5, 2015

/cc #104

phildawes added a commit that referenced this pull request Jan 5, 2015
Fix compilation error for assoc types in the Iterator traits
@phildawes phildawes merged commit 240c1db into racer-rust:master Jan 5, 2015
@phildawes
Copy link
Collaborator

Awesome - thanks very much

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.

2 participants