bevy/crates/bevy_derive/src
Nathan Ward 1690a9db97 [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.
2021-05-06 23:45:23 +00:00
..
app_plugin.rs Various cleanups (#2046) 2021-05-01 20:07:06 +00:00
bevy_main.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00
bytes.rs Bevy derives handling generics in impl definitions. (#2044) 2021-05-01 02:57:20 +00:00
enum_variant_meta.rs EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
lib.rs EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
modules.rs [bevy_derive] Refactor modules for better error message. (#2059) 2021-05-06 23:45:23 +00:00
render_resource.rs Bevy derives handling generics in impl definitions. (#2044) 2021-05-01 02:57:20 +00:00
render_resources.rs Bevy derives handling generics in impl definitions. (#2044) 2021-05-01 02:57:20 +00:00
resource.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00
shader_defs.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00