You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You access the sections HashMap, which has the type &'a HashMap<Option<Cow<'i, str>, _>, and you try to access it with an Option<Cow<'p, str>>. The lifetime mismatch is not detected by Rust 1.5, but will be detected by future versions of rustc.
index has a similar problem.
The only fix I am aware of is to turn the Cow to an owned one.
The text was updated successfully, but these errors were encountered:
The relevant code is
You access the
sections
HashMap, which has the type&'a HashMap<Option<Cow<'i, str>, _>
, and you try to access it with anOption<Cow<'p, str>>
. The lifetime mismatch is not detected by Rust 1.5, but will be detected by future versions of rustc.index
has a similar problem.The only fix I am aware of is to turn the
Cow
to an owned one.The text was updated successfully, but these errors were encountered: