Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bevy_derive] Refactor modules for better error message. (#2059)
Problem: - When using the 'as_crate' attribute, if 'as_crate' was empty, the only error you would get is 'integer underflow'. Solution: - Provide an explicit check for the 'as_crate' attribute's token stream to ensure the formatting is correct. Note: - Also reworked 'get_meta' by not making it call 'Manifest::find' twice.
- Loading branch information