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
src/libstd/path/mod.rs:335:25:335:49 error: the trait `core::ops::Fn<(&[u8],), core::option::Option<_>>` is not implemented for the type `fn(&'a [u8]) -> core::option::Option<&'a str>`
src/libstd/path/mod.rs:335self.filename().and_then(str::from_utf8)
hrtb.rs:7:5:7:8 error: the trait `core::ops::Fn<(&_,),&_>` is not implemented for the type `fn(&'a u8) -> &'a u8`
hrtb.rs:7foo(id);
^~~
hrtb.rs:7:5:7:8 note:the trait `core::ops::Fn` must be implemented because it is required by `foo`
hrtb.rs:7foo(id);
^~~
error: aborting due to previous error