rustic-games / jilu

Generate a change log based on the state of your Git repository.
104 stars 6 forks source link

Compiler errors in current release #11

Closed mmstick closed 4 years ago

mmstick commented 4 years ago

This seems to be an issue now, even for installing from Crates.io

error[E0308]: mismatched types
  --> src/changelog.rs:70:47
   |
70 |         let mut log = tera.render("template", context)?;
   |                                               ^^^^^^^
   |                                               |
   |                                               expected reference, found struct `tera::context::Context`
   |                                               help: consider borrowing here: `&context`
   |
   = note: expected type `&tera::context::Context`
              found type `tera::context::Context`
sucaba commented 4 years ago

Same

JeanMertz commented 4 years ago

This was changed between Tera 1.0.0-beta.13 (used in the latest version of Jilu) and 1.0.0-beta.17.

I've just released Jila 0.3.0, which includes an upgrade to Tera 1.1.0, which fixes the issue.

Apologies for the delay in tackling this.