Use the diagnostic namespace (#2246)

This commit is contained in:
Georg Semmler
2023-09-29 09:25:26 +02:00
committed by GitHub
parent 930e2ab7c1
commit 2f6200dfbd
26 changed files with 126 additions and 109 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ mod private {
#[async_trait]
#[cfg_attr(
nightly_error_messages,
rustc_on_unimplemented(
diagnostic::on_unimplemented(
note = "Function argument is not a valid axum extractor. \nSee `https://docs.rs/axum/latest/axum/extract/index.html` for details",
)
)]
@@ -72,7 +72,7 @@ pub trait FromRequestParts<S>: Sized {
#[async_trait]
#[cfg_attr(
nightly_error_messages,
rustc_on_unimplemented(
diagnostic::on_unimplemented(
note = "Function argument is not a valid axum extractor. \nSee `https://docs.rs/axum/latest/axum/extract/index.html` for details",
)
)]