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
The text was updated successfully, but these errors were encountered:
ensc
changed the title
Does not looks into accessible private submodule
Does not look into accessible private submodule
May 1, 2021
In
The
foo()
symbol is not found when referred by thecrate::submod::lib
path. Using a relativesuper::lib
path is ok.The text was updated successfully, but these errors were encountered: