mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
d143da338a
# Objective - Fixed issue where `thiserror` `#[error(...)]` attributes were improperly converted to `derive_more` `#[display(...)]` equivalents in certain cases with a tuple struct/enum variant. ## Solution - Used `re/#\[display\(.*\{[0-9]+\}.*\)\]/` to find occurences of using `{0}` where `{_0}` was intended (checked for other field indexes too)and updated accordingly. ## Testing - `cargo check` - CI ## Notes This was discovered by @dtolnay in [this comment](https://github.com/bevyengine/bevy/pull/15772#discussion_r1833730555). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |