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
I'm writing a lint, but I want to get the names of all function calls in a chain.
How should I do this?
Such as:
let _ = S::build() .fun1() .fun2() .fun3();
I can get the Expr of "S::build()", but I can not find a good way to collect other function names in the chain.
The text was updated successfully, but these errors were encountered:
I find a help function in clippy_utils. I close the issue.
Sorry, something went wrong.
No branches or pull requests
I'm writing a lint, but I want to get the names of all function calls in a chain.
How should I do this?
Such as:
I can get the Expr of "S::build()", but I can not find a good way to collect other function names in the chain.
The text was updated successfully, but these errors were encountered: