Closed
Description
Not clear what exactly has changed.
[INFO] [stdout] error[E0277]: the trait bound `for<'a> beef::generic::Cow<'a, str, beef::wide::internal::Wide>: Borrow<beef::generic::Cow<'_, str, lean::internal::Lean>>` is not satisfied
[INFO] [stdout] --> src/page.rs:433:18
[INFO] [stdout] |
[INFO] [stdout] 433 | .get(template)
[INFO] [stdout] | --- ^^^^^^^^ the trait `for<'a> Borrow<beef::generic::Cow<'_, str, lean::internal::Lean>>` is not implemented for `beef::generic::Cow<'a, str, beef::wide::internal::Wide>`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Borrow<str>` is implemented for `beef::generic::Cow<'_, str, beef::wide::internal::Wide>`
[INFO] [stdout] = help: for that trait implementation, expected `str`, found `beef::generic::Cow<'_, str, lean::internal::Lean>`
[INFO] [stdout] note: required by a bound in `Ramhorns::<H>::get`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ramhorns-0.14.0/src/lib.rs:206:31
[INFO] [stdout] |
[INFO] [stdout] 204 | pub fn get<S>(&self, name: &S) -> Option<&Template<'static>>
[INFO] [stdout] | --- required by a bound in this associated function
[INFO] [stdout] 205 | where
[INFO] [stdout] 206 | for<'a> Cow<'a, str>: std::borrow::Borrow<S>,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Ramhorns::<H>::get`