bevy/crates/bevy_ecs/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
..
entity Optimise Entity with repr align & manual PartialOrd/Ord (#10558) 2023-11-18 20:04:37 +00:00
query Derive Error for more error types (#10240) 2023-10-28 22:20:37 +00:00
reflect Use EntityHashMap for EntityMapper (#10415) 2023-11-07 08:23:04 +00:00
schedule Some docs for IntoSystemSet (#10563) 2023-11-16 17:44:42 +00:00
storage Make builder types take and return Self (#10001) 2023-10-09 19:46:17 +00:00
system Link to In in pipe documentation (#10596) 2023-11-17 15:34:58 +00:00
world Update Event send methods to return EventId (#10551) 2023-11-16 17:20:43 +00:00
archetype.rs Add a public API to ArchetypeGeneration/Id (#9825) 2023-10-02 12:54:45 +00:00
bundle.rs Fix some nightly warnings (#9672) 2023-09-02 18:35:06 +00:00
change_detection.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
component.rs Updates for rust 1.73 (#10035) 2023-10-06 00:31:10 +00:00
event.rs Update Event send methods to return EventId (#10551) 2023-11-16 17:20:43 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
removal_detection.rs Hide UnsafeWorldCell::unsafe_world (#9741) 2023-10-02 12:46:43 +00:00