bevy/crates/bevy_scene/src
Ame 951c9bb1a2
Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011)
# Objective

- Fix adding `#![allow(clippy::type_complexity)]` everywhere. like #9796

## Solution

- Use the new [lints] table that will land in 1.74
(https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lints)
- inherit lint to the workspace, crates and examples.
```
[lints]
workspace = true
```

## Changelog

- Bump rust version to 1.74
- Enable lints table for the workspace
```toml
[workspace.lints.clippy]
type_complexity = "allow"
```
- Allow type complexity for all crates and examples
```toml
[lints]
workspace = true
```

---------

Co-authored-by: Martín Maita <47983254+mnmaita@users.noreply.github.com>
2023-11-18 20:58:48 +00:00
..
bundle.rs Finish documenting bevy_scene (#9949) 2023-10-01 17:54:19 +00:00
dynamic_scene_builder.rs Make builder types take and return Self (#10001) 2023-10-09 19:46:17 +00:00
dynamic_scene.rs Re-export ron in bevy_scene (#10529) 2023-11-15 14:45:54 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
scene_filter.rs Make builder types take and return Self (#10001) 2023-10-09 19:46:17 +00:00
scene_loader.rs Re-export ron in bevy_scene (#10529) 2023-11-15 14:45:54 +00:00
scene_spawner.rs Use handles for queued scenes in SceneSpawner (#10619) 2023-11-18 01:27:05 +00:00
scene.rs Use EntityHashMap for EntityMapper (#10415) 2023-11-07 08:23:04 +00:00
serde.rs Re-export ron in bevy_scene (#10529) 2023-11-15 14:45:54 +00:00