Checking mdbook-toc v0.14.0 (/…/mdbook-toc)
error[E0277]: the trait bound `Config: From<Option<&toml::map::Map<std::string::String, toml::value::Value>>>` is not satisfied
--> src/lib.rs:80:60
|
80 | let cfg = ctx.config.get_preprocessor(self.name()).try_into()?;
| ^^^^^^^^ the trait `From<Option<&toml::map::Map<std::string::String, toml::value::Value>>>` is not implemented for `Config`
|
= note: required for `Option<&toml::map::Map<std::string::String, toml::value::Value>>` to implement `Into<Config>`
= note: required for `Config` to implement `TryFrom<Option<&toml::map::Map<std::string::String, toml::value::Value>>>`
= note: required for `Option<&toml::map::Map<std::string::String, toml::value::Value>>` to implement `TryInto<Config>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `mdbook-toc` (lib) due to previous error
Here’s the revert in mdbook’s repo. Here’s the relevant PR in this repo that made
mdbook-toc
follow the change (to fix build errors at the time).And the unsurprising compilation error