mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Use the diagnostic namespace (#2246)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#![cfg_attr(nightly_error_messages, allow(internal_features), feature(rustc_attrs))]
|
||||
#![cfg_attr(nightly_error_messages, feature(diagnostic_namespace))]
|
||||
//! Core types and traits for [`axum`].
|
||||
//!
|
||||
//! Libraries authors that want to provide [`FromRequest`] or [`IntoResponse`] implementations
|
||||
@@ -44,7 +44,7 @@
|
||||
missing_debug_implementations,
|
||||
missing_docs
|
||||
)]
|
||||
#![deny(unreachable_pub, private_in_public)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![cfg_attr(test, allow(clippy::float_cmp))]
|
||||
|
||||
Reference in New Issue
Block a user