mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-19 13:10:41 +01:00
14 lines
467 B
Text
14 lines
467 B
Text
|
error: cannot use both `rejection_derive` and `via`
|
||
|
--> tests/from_request/fail/rejection_derive_and_via.rs:5:42
|
||
|
|
|
||
|
5 | #[from_request(rejection_derive(!Error), via(Extension))]
|
||
|
| ^^^
|
||
|
|
||
|
warning: unused import: `axum::extract::Extension`
|
||
|
--> tests/from_request/fail/rejection_derive_and_via.rs:2:5
|
||
|
|
|
||
|
2 | use axum::extract::Extension;
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `#[warn(unused_imports)]` on by default
|