We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider such code:
pub trait Foo { fn foo(&self); } fn get_foo() -> Box<Foo + Send> { unimplemented!(); } fn main() { let mut t = get_foo(); t.foo();//X }
if I place cursor at foo at line X, and execute racer-find-definition, it returns "No definition found", also no completion if I type t.
foo
racer-find-definition
t.
But if replace Box<Foo + Send> with Box<Foo> all works fine.
Box<Foo + Send>
Box<Foo>
So looks like racer doesn't like Box<Trait + Send>?
Box<Trait + Send>
I use racer 2.0.14.
The text was updated successfully, but these errors were encountered:
Thanks for reporting, it sounds weird...
Sorry, something went wrong.
No branches or pull requests
Consider such code:
if I place cursor at
foo
at line X, and executeracer-find-definition
,it returns "No definition found", also no completion if I type
t.
But if replace
Box<Foo + Send>
withBox<Foo>
all works fine.So looks like racer doesn't like
Box<Trait + Send>
?I use racer 2.0.14.
The text was updated successfully, but these errors were encountered: