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

[blocked] infra: update dependencies for mdbook preprocessors #3986

Closed
wants to merge 1 commit into from

Conversation

chriskrycho
Copy link
Contributor

Needs rust-lang/mdBook#2401 to land before it can be landed, because mdbook requires pulldown-cmark 0.10, so there is a type mismatch on Event:

error[E0271]: expected `Parser<'_>` to be an iterator that yields `Event<'_>`, but it yields `Event<'_>`
   --> src/lib.rs:372:39
    |
372 |             html::push_html(&mut buf, events);
    |             ---------------           ^^^^^^ expected `Event<'_>`, found `pulldown_cmark::Event<'_>`
    |             |
    |             required by a bound introduced by this call
    |
    = note: `pulldown_cmark::Event<'_>` and `Event<'_>` have similar names, but are actually distinct types
note: `pulldown_cmark::Event<'_>` is defined in crate `pulldown_cmark`
   --> /Users/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pulldown-cmark-0.10.3/src/lib.rs:354:1
    |
354 | pub enum Event<'a> {
    | ^^^^^^^^^^^^^^^^^^
note: `Event<'_>` is defined in crate `pulldown_cmark`
   --> /Users/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pulldown-cmark-0.11.0/src/lib.rs:366:1
    |
366 | pub enum Event<'a> {
    | ^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `pulldown_cmark` are being used?

Needs rust-lang/mdBook#2401 to land before it
can be landed, because mdbook requires pulldown-cmark 0.10, so there is
a type mismatch on `Event`:

```
error[E0271]: expected `Parser<'_>` to be an iterator that yields `Event<'_>`, but it yields `Event<'_>`
   --> src/lib.rs:372:39
    |
372 |             html::push_html(&mut buf, events);
    |             ---------------           ^^^^^^ expected `Event<'_>`, found `pulldown_cmark::Event<'_>`
    |             |
    |             required by a bound introduced by this call
    |
    = note: `pulldown_cmark::Event<'_>` and `Event<'_>` have similar names, but are actually distinct types
note: `pulldown_cmark::Event<'_>` is defined in crate `pulldown_cmark`
   --> /Users/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pulldown-cmark-0.10.3/src/lib.rs:354:1
    |
354 | pub enum Event<'a> {
    | ^^^^^^^^^^^^^^^^^^
note: `Event<'_>` is defined in crate `pulldown_cmark`
   --> /Users/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pulldown-cmark-0.11.0/src/lib.rs:366:1
    |
366 | pub enum Event<'a> {
    | ^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `pulldown_cmark` are being used?
```
@chriskrycho chriskrycho added the blocked upstream Blocked on a change that needs to happen in a different repo first label Jul 22, 2024
@chriskrycho chriskrycho deleted the upgrade-pulldown-cmark branch November 13, 2024 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked upstream Blocked on a change that needs to happen in a different repo first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant