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
It looks like it forgot to normalize <() as Fun<'a>>::Output to &'a str?
error: internal compiler error:
src/librustc_trans/common.rs:473:
Encountered error
OutputTypeParameterMismatch(
Binder(<[closure] as FnOnce(<() as Fun<'a>>::Output))>,
Binder(<[closure] as FnOnce(&str))>,
Sorts(ExpectedFound {
expected: &str,
found: <() as Fun<'_>>::Output
})
)
selecting
Binder(<[closure] as FnOnce(&str)>)
during trans
This seems to cause rustc to crash (link shows a slightly more complicated example than the reduced example below):
It looks like it forgot to normalize
<() as Fun<'a>>::Output
to&'a str
?Crash log for 1.15.0-stable (10893a9 2017-01-19)
Crash log for 1.17.0-nightly (c49d102 2017-02-07)
The text was updated successfully, but these errors were encountered: