bevyengine / bevyengine/bevy

Audit `#[expect(clippy::large_enum_variant)]` usage in bevy_render

Open
#19,220 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Tracking-Issue D-Modest S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

A new clippy lint was recently added, and it is failing CI. I am making a PR to expect all the failures and link to this tracking issue to unblock CI immediately, to make actual auditing and discussion of each case less urgent.

A cursory glance reveals that a lot of these are actually things we want to fix, not just overzealous linting, but I think benchmarking is the only way to know for sure, and that takes time.

Relevant lint: https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.