diff --git a/src/lib.rs b/src/lib.rs index f84d1d1571..eef735a965 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -351,7 +351,7 @@ macro_rules! tasks { }) => { fn main() { $crate::critical(|cmax| { - fn signature(_: fn($crate::P0, $crate::CMAX)) {} + fn signature(_: fn($crate::P0, &$crate::CMAX)) {} signature(init); let p0 = unsafe { ::core::ptr::read(0x0 as *const _) };