Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error reporting on stpl #33

Open
mmacedoeu opened this issue Nov 13, 2020 · 1 comment
Open

Better error reporting on stpl #33

mmacedoeu opened this issue Nov 13, 2020 · 1 comment
Labels
3rdparty Problem with external project Priority: Medium

Comments

@mmacedoeu
Copy link

Got an error on Template compiling:

error: Failed to compile template.
Caused by: Rust Syntax Error: unexpected token

file: templates/mosaic_gstreamer.stpl

  --> src/cli.rs:10:10
   |
10 | #[derive(TemplateOnce)]
   |          ^^^^^^^^^^^^
   |
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

The message is too generic, don't know what and where this unexpected token appears

@Kogia-sima
Copy link
Member

Kogia-sima commented Nov 13, 2020

Needs dtolnay/proc-macro2#178 to be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rdparty Problem with external project Priority: Medium
Projects
None yet
Development

No branches or pull requests

2 participants