Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

it does not compile with rustc v1.44.1 #58

Open
sassman opened this issue Jul 9, 2020 · 0 comments
Open

it does not compile with rustc v1.44.1 #58

sassman opened this issue Jul 9, 2020 · 0 comments

Comments

@sassman
Copy link

sassman commented Jul 9, 2020

There is an issue when building stager that is related to the used liquid version.

cargo build                                                                                                                                                                                                       
[...]
error[E0283]: type annotations needed
  --> /Users/d34dl0ck/.cargo/registry/src/github.com-1ecc6299db9ec823/liquid-0.14.3/src/compiler/parser.rs:88:80
   |
88 |                     Token::Identifier(ref x) => indexes.push(Index::with_key(x.as_ref())),
   |                                                                                ^^^^^^ cannot infer type for struct `std::string::String`
   |
   = note: cannot satisfy `std::string::String: std::convert::AsRef<_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0283`.
error: could not compile `liquid`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

It might be useful to upgrade liquid to the latest version.

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

No branches or pull requests

1 participant