Fixing running ci locally in MacOS (#19619)

# Objective

- Running `cargo run --package ci` in MacOS does not currently work in
`main`.
- It shows a `error: this lint expectation is unfulfilled`.
- Fixes #19583

## Solution

- Remove an unnecessary `#[expect(clippy::large_enum_variant)]` on a
function.

## Testing

- `cargo run --package ci`: 👍
This commit is contained in:
Erick Z 2025-06-13 16:51:28 +02:00 committed by GitHub
parent ef71186d44
commit 8203e5c4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1103,10 +1103,6 @@ fn create_pipeline_task(
target_os = "macos",
not(feature = "multi_threaded")
))]
#[expect(
clippy::large_enum_variant,
reason = "See https://github.com/bevyengine/bevy/issues/19220"
)]
fn create_pipeline_task(
task: impl Future<Output = Result<Pipeline, PipelineCacheError>> + Send + 'static,
_sync: bool,