Skip to content

Conversation

@danieleades
Copy link
Contributor

No description provided.

@danieleades
Copy link
Contributor Author

looks like an upstream issue in pandoc:

    Checking pandoc v0.8.4
error[E0034]: multiple applicable items in scope
Error:     --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pandoc-0.8.4/src/lib.rs:1043:14
     |
1043 |             .intersperse(PATH_DELIMIT)
     |              ^^^^^^^^^^^ multiple `intersperse` found
     |
     = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `std::iter::Chain<A, B>`
     = note: candidate #2 is defined in an impl of the trait `Itertools` for the type `T`
help: disambiguate the associated function for candidate #1
     |
1031 ~         let path: String = Iterator::intersperse(self
1032 +             .latex_path_hint
1033 +             .iter()
1034 +             .chain(self.pandoc_path_hint.iter())
1035 +             .map(|p| p.to_str().expect("non-utf8 path"))
1036 +             .chain(PANDOC_PATH.iter().cloned())
   ...
help: disambiguate the associated function for candidate #2
     |
1031 ~         let path: String = Itertools::intersperse(self
1032 +             .latex_path_hint
1033 +             .iter()
1034 +             .chain(self.pandoc_path_hint.iter())
1035 +             .map(|p| p.to_str().expect("non-utf8 path"))
1036 +             .chain(PANDOC_PATH.iter().cloned())
   ...

@danieleades
Copy link
Contributor Author

see oli-obk/rust-pandoc#43

@danieleades
Copy link
Contributor Author

a rebase after #33 should fix the build

@OverkillGuy
Copy link
Owner

Erk. I merged #33 and tried rebasing locally (and repushing) the dependabot branch on my own repo, but that didn't suffice for this PR to update.

Care to force-push your PR to my rebased version, so I can accept this?

@danieleades
Copy link
Contributor Author

after merging i think you need to enable dependabot from the 'insight's tab, otherwise it will only run if there's a security advisory. or something.

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

Successfully merging this pull request may close these issues.

2 participants