Skip to content

Remove #[expect(ungated_async_fn_track_caller)] when track_caller on async fns stabilizes #439

@coderabbitai

Description

@coderabbitai

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

  • Verify that track_caller on async functions has been stabilised in Rust
  • Remove the #[expect(ungated_async_fn_track_caller, reason = "track_caller on async fns is unstable")] attribute
  • Remove the associated FIXME comment
  • Confirm tests pass with the updated code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions