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
rust-analyser fails to resolve functions from included generated files, which shows in the editor errors.
This is not nice for user experience. We would add new functions to generate only hash map.
Then usage is would be like:
fn generate() -> ::std::collections::HashMap<&'static str, actix_web_static_files::Resource> { include!(concat!(env!("OUT_DIR"), "/generated.rs")); }
Looks like it would be more meaningful not only in this case.
The text was updated successfully, but these errors were encountered:
e14e747
kilork
No branches or pull requests
rust-analyser fails to resolve functions from included generated files, which shows in the editor errors.
This is not nice for user experience. We would add new functions to generate only hash map.
Then usage is would be like:
Looks like it would be more meaningful not only in this case.
The text was updated successfully, but these errors were encountered: