bevy/crates/bevy_render/macros
François Mockers 9b114a4936
enable syn/full in bevy_render_macros (#20034)
# Objective

- `bevy_render_macros` fails to build on its own:
```
error[E0432]: unresolved import `syn::Pat`
   --> crates/bevy_render/macros/src/specializer.rs:13:69
    |
13  |     DeriveInput, Expr, Field, Ident, Index, Member, Meta, MetaList, Pat, Path, Token, Type,
    |                                                                     ^^^
    |                                                                     |
    |                                                                     no `Pat` in the root
    |                                                                     help: a similar name exists in the module: `Path`
    |
note: found an item that was configured out
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/lib.rs:485:15
    |
485 |     FieldPat, Pat, PatConst, PatIdent, PatLit, PatMacro, PatOr, PatParen, PatPath, PatRange,
    |               ^^^
note: the item is gated behind the `full` feature
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/lib.rs:482:7
    |
482 | #[cfg(feature = "full")]
    |       ^^^^^^^^^^^^^^^^
```

## Solution

- Enable the `full` feature of `syn`
2025-07-08 17:08:20 +00:00
..
src spec_v2: minor revisions (#19923) 2025-07-03 17:49:04 +00:00
Cargo.toml enable syn/full in bevy_render_macros (#20034) 2025-07-08 17:08:20 +00:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00