bevy/crates/bevy_ecs/macros/src
Yutao Yuan 2c145826a3 Fix type parameter name conflicts of derive(Bundle) (#4636)
# Objective

This code currently fails to compile with error ``the name `T` is already used for a generic parameter in this item's generic parameters``, because `T` is also used in code generated by `derive(Bundle)`.

```rust
#[derive(Bundle)]
struct MyBundle<T: Component> {
    component: T,
}
```

## Solution

Add double underscores to type parameter names in `derive(Bundle)`.
2022-05-02 11:58:51 +00:00
..
component.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
fetch.rs Use lifetimed, type erased pointers in bevy_ecs (#3001) 2022-04-27 23:44:06 +00:00
lib.rs Fix type parameter name conflicts of derive(Bundle) (#4636) 2022-05-02 11:58:51 +00:00