Skip to content

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