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
no such field
include_dir
main.rs:
use include_dir::include_dir; use std::fs::File; fn main() { include_dir!("src"); }
Full code.
Rust Analyzer shows error while rustc compiles the same code without errors.
rust-analyzer version: 0.3.1748-standalone (237712f 2023-11-26)
rustc version: rustc 1.76.0-nightly (f5dc2653f 2023-11-25)
The text was updated successfully, but these errors were encountered:
It works well for me with the same version R-A after delete use std::fs::File;
use std::fs::File;
upgrade include_dir to latest version also solve the problem
Sorry, something went wrong.
No branches or pull requests
main.rs:
Full code.
Rust Analyzer shows error while rustc compiles the same code without errors.
rust-analyzer version: 0.3.1748-standalone (237712f 2023-11-26)
rustc version: rustc 1.76.0-nightly (f5dc2653f 2023-11-25)
The text was updated successfully, but these errors were encountered: