mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Use the diagnostic namespace (#2246)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#![feature(diagnostic_namespace)]
|
||||
use axum_macros::debug_handler;
|
||||
|
||||
#[debug_handler]
|
||||
async fn handler(foo: bool) {}
|
||||
async fn handler(_foo: bool) {}
|
||||
|
||||
fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user