Use mdbook v0.4.21 #23

Merged
drbrain merged 1 commit from drbrain/mdbook-0.4.21 into main 2022-09-25 22:05:18 +00:00
drbrain commented 2022-09-22 21:57:49 +00:00 (Migrated from github.com)

On rust 1.64.0 mdbook v0.4.18 fails to compile:

   Compiling mdbook v0.4.18
error[E0597]: `local_ctx` does not live long enough
   --> /Users/erichodel/.cargo/registry/src/github.com-1ecc6299db9ec823/mdbook-0.4.18/src/renderer/html_handlebars/helpers/navigation.rs:154:25
    |
154 |             t.render(r, &local_ctx, &mut local_rc, out)
    |                         ^^^^^^^^^^ borrowed value does not live long enough
155 |         })?;
    |         -
    |         |
    |         `local_ctx` dropped here while still borrowed
    |         borrow might be used here, when `local_rc` is dropped and runs the destructor for type `handlebars::RenderContext<'_, '_>`
    |
    = note: values in a scope are dropped in the opposite order they are defined

For more information about this error, try `rustc --explain E0597`.
error: could not compile `mdbook` due to previous error
warning: build failed, waiting for other jobs to finish...
On rust 1.64.0 mdbook v0.4.18 fails to compile: Compiling mdbook v0.4.18 error[E0597]: `local_ctx` does not live long enough --> /Users/erichodel/.cargo/registry/src/github.com-1ecc6299db9ec823/mdbook-0.4.18/src/renderer/html_handlebars/helpers/navigation.rs:154:25 | 154 | t.render(r, &local_ctx, &mut local_rc, out) | ^^^^^^^^^^ borrowed value does not live long enough 155 | })?; | - | | | `local_ctx` dropped here while still borrowed | borrow might be used here, when `local_rc` is dropped and runs the destructor for type `handlebars::RenderContext<'_, '_>` | = note: values in a scope are dropped in the opposite order they are defined For more information about this error, try `rustc --explain E0597`. error: could not compile `mdbook` due to previous error warning: build failed, waiting for other jobs to finish...
wez commented 2022-10-01 13:30:21 +00:00 (Migrated from github.com)

Can you publish a release with this change?

Can you publish a release with this change?
badboy commented 2022-10-03 05:14:24 +00:00 (Migrated from github.com)

Can you publish a release with this change?

I'm on vacation for another week, I will get to a release when I'm back.

> Can you publish a release with this change? I'm on vacation for another week, I will get to a release when I'm back.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jer/mdbook-mermaid!23
No description provided.