Skip to content

expected expression, found <eof> #58

@realaravinth

Description

@realaravinth

First of all, thank you for this amazing crate! I've been having a fun playing around with. :)

Last night, CI builds on nightly failed with expected expression, found '<eof>' and I haven't been able to reproduce the issue locally on my machine.

 error: expected expression, found `<eof>`
Error:  --> /home/runner/work/guard/guard/target/debug/build/sailfish-compiler-2f6bfe1de24fe3be/out/templates/index-ec2437792dcba84c:0:1
  |

error: non-statement macro in statement position: include
Error:   --> src/pages/panel/mod.rs:24:10
   |
24 | #[derive(TemplateOnce, Clone)]
   |          ^^^^^^^^^^^^
   |
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

The failure is from a template that wasn't changed in the commits that triggered it.

Here are the logs from the failed CI runs:

Let me know if there's something that I can do to help. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions