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

fails after std::include! #1082

Open
ensc opened this issue Nov 20, 2019 · 0 comments
Open

fails after std::include! #1082

ensc opened this issue Nov 20, 2019 · 0 comments

Comments

@ensc
Copy link

ensc commented Nov 20, 2019

racer fails to lookup symbols which are made available by std::include!().

E.g.

main.rs

std::include!("common.inc-rs");

fn main() {
    crate::bar::foo()
    //           ^
}

common.inc-rs

mod bar;

bar.rs

pub fn foo() {}

does not return a result

$ racer find-definition 4 17 main.rs
END
$

Position "4 17" is the foo in the function call.

racer 2.1.28; built with 1.41.0-nightly (5c5b8afd8 2019-11-16)

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

1 participant