Summary
Remove the #[expect(ungated_async_fn_track_caller)] attribute from collect_multi_packet in wireframe_testing/src/multi_packet.rs once Rust stabilizes track_caller on async functions.
Context
The function collect_multi_packet currently uses #[expect(ungated_async_fn_track_caller)] because #[track_caller] on async functions is still unstable in Rust. Once the feature is stabilised, this lint suppression should be removed.
References
Acceptance Criteria
Summary
Remove the
#[expect(ungated_async_fn_track_caller)]attribute fromcollect_multi_packetinwireframe_testing/src/multi_packet.rsonce Rust stabilizestrack_calleron async functions.Context
The function
collect_multi_packetcurrently uses#[expect(ungated_async_fn_track_caller)]because#[track_caller]on async functions is still unstable in Rust. Once the feature is stabilised, this lint suppression should be removed.References
#[track_caller]on async fn rust-lang/rust#110011Acceptance Criteria
track_calleron async functions has been stabilised in Rust#[expect(ungated_async_fn_track_caller, reason = "track_caller on async fns is unstable")]attribute