Description
Bug Report
Version
v0.8.1
Platform
Unix
Crates
axum
Description
#20 176.0 error[E0015]: cannot call non-const fn FailedToDeserializePathParams::status
in constant functions
#20 176.0 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.8.1/src/extract/rejection.rs:151:1
#20 176.0 |
#20 176.0 151 | / composite_rejection! {
#20 176.0 152 | | /// Rejection used for Path
.
#20 176.0 153 | | ///
#20 176.0 154 | | /// Contains one variant for each way the Path
extractor
#20 176.0 ... |
#20 176.0 159 | | }
#20 176.0 160 | | }
#20 176.0 | |^
#20 176.0 |
#20 176.0 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
#20 176.0 = note: this error originates in the macro composite_rejection
(in Nightly builds, run with -Z macro-backtrace for more info)
#20 176.0
#20 176.0 error[E0015]: cannot call non-const fn InvalidUtf8InPathParam::status
in constant functions
#20 176.0 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.8.1/src/extract/rejection.rs:162:1
#20 176.0 |
#20 176.0 162 | / composite_rejection! {
#20 176.0 163 | | /// Rejection used for RawPathParams
.
#20 176.0 164 | | ///
#20 176.0 165 | | /// Contains one variant for each way the RawPathParams
extractor
#20 176.0 ... |
#20 176.0 170 | | }
#20 176.0 171 | | }
#20 176.0 | |^
#20 176.0 |
#20 176.0 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
#20 176.0 = note: this error originates in the macro composite_rejection
(in Nightly builds, run with -Z macro-backtrace for more info)
#20 176.0