bevy/crates/bevy_ui/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
..
layout Update UI alignment docs (#10303) 2023-10-29 15:32:11 +00:00
render Fix panic when using image in UiMaterial (#10591) 2023-11-16 21:31:25 +00:00
widget Fix crash with certain right-aligned text (#10271) 2023-10-26 22:09:34 +00:00
accessibility.rs Various accessibility API updates. (#9989) 2023-10-02 21:22:52 +00:00
camera_config.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
focus.rs Fix the clippy::explicit_iter_loop lint (#9834) 2023-09-19 03:35:22 +00:00
geometry.rs don't Implement Display for Val (#10345) 2023-11-02 21:54:41 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
measurement.rs Change the default for the measure_func field of ContentSize to None. (#9346) 2023-08-07 23:06:40 +00:00
node_bundles.rs UI Materials: ignore entities with a BackgroundColor component (#10434) 2023-11-07 20:04:10 +00:00
stack.rs Add stack index to Node (#9853) 2023-10-31 23:32:51 +00:00
ui_material.rs Add UI Materials (#9506) 2023-11-03 22:33:01 +00:00
ui_node.rs Add stack index to Node (#9853) 2023-10-31 23:32:51 +00:00
update.rs Do not panic on non-UI child of UI entity (#9621) 2023-08-29 10:49:40 +00:00