You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mod submod {mod lib {pubfnfoo(){}}pubmod app {usecrate::submod::lib as crate_lib;// brokenusesuper::lib as mod_lib;// okpubfnbar(){
crate_lib::foo();// broken; does not complete (line 11)
mod_lib::foo();// ok (line 12)}}}fnmain(){
submod::app::bar();}
The foo() symbol is not found when referred by the crate::submod::lib path. Using a relative super::lib path is ok.
$ racer complete 12 22 main.rs
PREFIX 288,289,f
MATCH foo,3,15,main.rs,Function,pub fn foo()
END
$ racer complete 11 24 main.rs
PREFIX 229,230,f
END
$ racer --version
racer 2.1.45