Skip to content
New issue

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

添加log中间件编译报错 #165

Closed
flyGetHu opened this issue Oct 10, 2022 · 3 comments
Closed

添加log中间件编译报错 #165

flyGetHu opened this issue Oct 10, 2022 · 3 comments

Comments

@flyGetHu
Copy link

error[E0632]: cannot provide explicit generic arguments when impl Trait is used in argument position
--> C:\Users\97078.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\salvo_extra-0.37.0\src\force_https.rs:54:42
|
54 | if let Some(host) = req.header::(header::HOST) {
| ^^^^^^ explicit generic argument not allowed
|
= note: see issue #83701 rust-lang/rust#83701 for more information

@chrislearn
Copy link
Member

Rust 1.64, 请确认你本地的 Rust 版本是否已经是最新稳定版.

@flyGetHu
Copy link
Author

好的 我更新下

@flyGetHu
Copy link
Author

ok,谢谢可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants