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