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

Issue Compiling: expected function, found struct variant #23

Closed
Addisonbean opened this issue Aug 23, 2017 · 2 comments
Closed

Issue Compiling: expected function, found struct variant #23

Addisonbean opened this issue Aug 23, 2017 · 2 comments

Comments

@Addisonbean
Copy link

I am trying to compile a project which uses plex, and I am getting this error when trying to compile plex:

   Compiling plex v0.0.3 (https://github.com/goffrie/plex#802851ac)
error[E0423]: expected function, found struct variant `base::SyntaxExtension::NormalTT`
  --> /Users/addisonbean/.cargo/git/checkouts/plex-99281a3d5255642b/802851a/src/lib.rs:18:9
   |
18 |         base::SyntaxExtension::NormalTT(Box::new(parser::expand_parser), None, true));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `base::SyntaxExtension::NormalTT { /* fields */ }`?

error[E0423]: expected function, found struct variant `base::SyntaxExtension::NormalTT`
  --> /Users/addisonbean/.cargo/git/checkouts/plex-99281a3d5255642b/802851a/src/lib.rs:20:9
   |
20 |         base::SyntaxExtension::NormalTT(Box::new(lexer::expand_lexer), None, true));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `base::SyntaxExtension::NormalTT { /* fields */ }`?

error: aborting due to 2 previous errors

error: Could not compile `plex`.

This is the output of rustc --version: rustc 1.21.0-nightly (4fdb4bedf 2017-08-21)

@goffrie
Copy link
Owner

goffrie commented Aug 24, 2017

Should be fixed now!

@goffrie goffrie closed this as completed Aug 24, 2017
@Addisonbean
Copy link
Author

Thank you, I appreciate your quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants