Open ensc opened 3 years ago
In
pub mod lib { pub struct Foo; impl Foo { pub fn some_func() {} } } pub mod app { impl crate::lib::Foo { pub fn other_func() {} } } fn main() { lib::Foo::some_func(); // ok lib::Foo::other_func(); // broken }
the some_func() symbol is found by racer while other_func not:
some_func()
other_func
$ racer --version racer 2.1.45 $ racer complete 16 15 main.rs PREFIX 182,183,s MATCH some_func,5,8,main.rs,Function,pub fn some_func() END $ racer complete 17 15 main.rs PREFIX 215,216,o END
In
the
some_func()
symbol is found by racer whileother_func
not: