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
A Static File sample is broken here if I try to compile "# Configuration":
error[E0308]: try expression alternatives have incompatible types --> src/main.rs:20:8 | 20 | Ok(NamedFile::open_with_config(path, MyConfig)?) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `actix_web::fs::DefaultConfig`, found struct `MyConfig` | help: try wrapping with a success variant: `Ok(NamedFile::open_with_config(path, MyConfig)?)` | = note: expected type `actix_web::fs::NamedFile<actix_web::fs::DefaultConfig>` found type `actix_web::fs::NamedFile<MyConfig>`
the error message is also broken in Rust, see here rust-lang/rust#52537
The text was updated successfully, but these errors were encountered:
Do you know how to fix it? I have this error too
Sorry, something went wrong.
This was corrected 032afec
No branches or pull requests
A Static File sample is broken here if I try to compile "# Configuration":
the error message is also broken in Rust, see here rust-lang/rust#52537
The text was updated successfully, but these errors were encountered: