bevy/crates/bevy_reflect/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
..
enums reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
impls Migrate Quat reflection strategy from "value" to "struct" (#10068) 2023-10-09 22:01:42 +00:00
path Fix some nightly warnings (#9672) 2023-09-02 18:35:06 +00:00
serde bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
array.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
fields.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
from_reflect.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
list.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
map.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
reflect.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
std_traits.rs
struct_trait.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
tuple_struct.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
tuple.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
type_info.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
type_path.rs bevy_reflect: Fix dynamic type serialization (#10103) 2023-10-16 23:31:16 +00:00
type_registry.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
type_uuid_impl.rs implement TypeUuid for primitives and fix multiple-parameter generics having the same TypeUuid (#6633) 2023-02-16 17:09:44 +00:00
type_uuid.rs implement TypeUuid for primitives and fix multiple-parameter generics having the same TypeUuid (#6633) 2023-02-16 17:09:44 +00:00
utility.rs Removed once_cell (#10079) 2023-10-12 10:20:07 +00:00