bevy/crates/bevy_ecs/src
Viktor Gustavsson 0244a841b7
Fix lint errors on bevy_ecs with disabled features (#18488)
# Objective

- `bevy_ecs` has lint errors without some features

## Solution

- Fix `clippy::allow-attributes-without-reason` when `bevy_reflect` is
disabled by adding a reason
- Fix `clippy::needless_return` when `std` is disabled by adding a gated
`expect` attribute and a comment to remove it when the `no_std` stuff is
addressed

## Testing

- `cargo clippy -p bevy_ecs --no-default-features --no-deps -- --D
warnings`
- CI
2025-03-22 16:36:56 +00:00
..
entity Fix lint errors on bevy_ecs with disabled features (#18488) 2025-03-22 16:36:56 +00:00
error Fix bevy_ecs doc tests with --all-features (#18424) 2025-03-19 20:02:33 +00:00
event bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
identifier bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
observer Replace VisitEntities with MapEntities (#18432) 2025-03-21 00:18:10 +00:00
query implement get_many_unique (#18315) 2025-03-16 21:12:26 +00:00
reflect Replace VisitEntities with MapEntities (#18432) 2025-03-21 00:18:10 +00:00
relationship Replace VisitEntities with MapEntities (#18432) 2025-03-21 00:18:10 +00:00
schedule Unify and simplify command and system error handling (#18351) 2025-03-18 19:27:50 +00:00
storage Fix lint errors on bevy_ecs with disabled features (#18488) 2025-03-22 16:36:56 +00:00
system Unify and simplify command and system error handling (#18351) 2025-03-18 19:27:50 +00:00
world Small Docs PR for Deferred Worlds (#18384) 2025-03-18 20:30:49 +00:00
archetype.rs Fix clippy::let_and_return in bevy_ecs (#18481) 2025-03-22 11:48:40 +00:00
batching.rs Fix *most* clippy lints (#15906) 2024-10-14 20:52:35 +00:00
bundle.rs Fix clippy::let_and_return in bevy_ecs (#18481) 2025-03-22 11:48:40 +00:00
change_detection.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
component.rs Replace VisitEntities with MapEntities (#18432) 2025-03-21 00:18:10 +00:00
entity_disabling.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
hierarchy.rs Add methods to bulk replace relationships on a entity (#18058) 2025-03-19 20:04:42 +00:00
intern.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
label.rs do_not_recommend interned Labels (#17950) 2025-02-25 23:46:21 +00:00
lib.rs Replace VisitEntities with MapEntities (#18432) 2025-03-21 00:18:10 +00:00
name.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
removal_detection.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
resource.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
spawn.rs Implement SpawnableList for Vec<Bundle> (#18259) 2025-03-11 20:32:37 +00:00
traversal.rs Relationships (non-fragmenting, one-to-many) (#17398) 2025-01-18 22:20:30 +00:00