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

Racer doesn't build on current Rust master #122

Closed
renato-zannon opened this issue Jan 23, 2015 · 1 comment
Closed

Racer doesn't build on current Rust master #122

renato-zannon opened this issue Jan 23, 2015 · 1 comment

Comments

@renato-zannon
Copy link
Contributor

Error:

src/racer/ast.rs:74:5: 125:6 error: method `visit_view_item` is not a member of trait `visit::Visitor`
src/racer/ast.rs:74     fn visit_view_item(&mut self, i: &ast::ViewItem) {
src/racer/ast.rs:75         match i.node {
src/racer/ast.rs:76             ast::ViewItemUse(ref path) => {
src/racer/ast.rs:77                 match path.node {
src/racer/ast.rs:78                     ast::ViewPathSimple(ident, ref path, _) => {
src/racer/ast.rs:79                         self.paths.push(to_racer_path(path));
                    ...
src/racer/ast.rs:74:39: 74:52 error: use of undeclared type name `ast::ViewItem`
src/racer/ast.rs:74     fn visit_view_item(&mut self, i: &ast::ViewItem) {
                                                          ^~~~~~~~~~~~~
src/racer/ast.rs:76:13: 76:29 error: unresolved enum variant, struct or const `ViewItemUse`
src/racer/ast.rs:76             ast::ViewItemUse(ref path) => {
                                ^~~~~~~~~~~~~~~~
src/racer/ast.rs:107:13: 107:37 error: unresolved enum variant, struct or const `ViewItemExternCrate`
src/racer/ast.rs:107             ast::ViewItemExternCrate(ident, ref loc, _) => {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~
src/racer/ast.rs:124:9: 124:30 error: unresolved name `visit::walk_view_item`
src/racer/ast.rs:124         visit::walk_view_item(self, i)

It seems to be fallout from rust-lang/rust#20179

@phildawes
Copy link
Collaborator

Thanks for the report, should be fixed now

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

No branches or pull requests

2 participants