Full `println!` syntax not supported?
I have found the following mismatches between `println!()` and `cprintln!()` invocations: ```rs use color_print::cprintln; fn main() { let a = 0; println!("{:?}", a + 1); println!("{:?}", (a + 1,)); println!("{:?}", [a + 1]); cprintln!("{:?}", a + 1); cprintln!("{:?}", (a + 1,)); // error: unexpected token cprintln!("{:?}", [a + 1]); // error: unsupported expression; enable syn's features=["full"] } ``` Here is a more complete output: ```sh $ RUSTFLAGS=-Zmacro-backtrace cargo check error: unexpected token --> src/main.rs:10:5 | 10 | cprintln!("{:?}", (a + 1,)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation | ::: ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/color-print-proc-macro-0.3.6/src/lib.rs:98:1 | 98 | pub fn cprintln(input: TokenStream) -> TokenStream { | -------------------------------------------------- in this expansion of `cprintln!` error: unsupported expression; enable syn's features=["full"] --> src/main.rs:11:5 | 11 | cprintln!("{:?}", [a + 1]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation | ::: ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/color-print-proc-macro-0.3.6/src/lib.rs:98:1 | 98 | pub fn cprintln(input: TokenStream) -> TokenStream { | -------------------------------------------------- in this expansion of `cprintln!` error: could not compile `rust_test` (bin "rust_test") due to 2 previous errors ``` What could be wrong? I have naively tried `cargo add -F full syn` within the proc-macro sources with no success :\ [UPDATE] Actually it was a success but I did not see it because I was testing my local `color-print` with the distant `color-print-proc-macro` which makes no sense. Fixed in !3 :)
issue